Receiving API Response in JSON Timothy Johnson Modified on: Tue, 23 Feb, 2016 at 9:06 AM Receiving API Response in JSON This article will cover how to receive a JSON response from an API call instead of XML Requirements POST your request. JSON encode your parameters. Set the Content-Type to JSON compatible. Example PHP Snippet