I AM LISTENING TO
|

WHAT I LIKE

Shield.io – Quality metadata badges for your open source project Hiding NGFB errors in WordPress Admin
Development     PHP    

PHP Headers To Serve JSON



7. May 2015

Home · Blog · Development · PHP · PHP Headers To Serve JSON

The first two headers prevent the browser from caching the response and the third sets the correct MIME type for JSON.

Than just output your JSON data

 




Leave a Reply

avatar
  Subscribe  
Notify of