my bad you dont undertand me, it returns a .php file for DOWNLOAD not with a echo or not with a ...
json_encode().....
I had to read the header........
"Content-Type: text/json",
ya sorry my bad.. your correct, im wrong...
maybe
"Content-Type: application/json" would stop it doing that?
maybe needs some content type negotiation script, for im on firefox and this never happens before!
maybe my browser broken
![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
strange.. just checked some other json api's nope they display correctly...
Im telling you straight up, this never has happened before in maybe 8years of coding with json apis..
take a look at my open source crypto currency webcart.. etc..etc... im not a "noob" so the link to curl i found a bit pretentious...
never has this happened maybe everyone else in the world dosn't do there json correctly....
something needs to be fixed most likely the content type.