Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

C#
I have a file with JSONP (hard-written callback) and I named it file.jsonp. Unfortunately server treats it as text/plain and browser returns warning


C#
calling it file.json causes the same warning. So what is the right extension? 

Please Help

What I have tried:

json file with extension .json :- File.json  :- it is ok

now jsonp file with extension .jsonp :- File.jsonp  :- is it ok ?

please help
Posted
Comments
Sergey Alexandrovich Kryukov 8-Jun-16 1:53am    
In most cases, extensions don't really matter...
—SA
.net developer123456789 8-Jun-16 5:58am    
Ok...Thanks
Anisuzzaman Sumon 24-Jun-16 1:58am    
If you've already got your solution please close the thread

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900