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

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

Be the First to Comment!

Notify of
avatar