What is the correct JSON content type?
How to access JSON decoded array in PHP?
Convert a string to JSON object php