Monday, February 17, 2014

I have code that handles JSON and JSONP. I'm normally happy with it, but hit issues today. Because ...

I have code that handles JSON and JSONP. I'm normally happy with it, but hit issues today.



Because I am stupid, and didn't notice that I had content-type: text/plain at the top of the page.



It is such an obvious thing that I spent time changing everything else because of course I had it right, except I didn't.




No comments:

Post a Comment