Submit a Ticket My Tickets
Welcome
Login  Sign up

Receiving API Response in JSON


Receiving API Response in JSON

This article will cover how to receive a JSON response from an API call instead of XML


Requirements

  1. POST your request.
  2. JSON encode your parameters.
  3. Set the Content-Type to JSON compatible.


Example PHP Snippet

Example PHP Snippet

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.