All data must be sent as an HTTP POST in
JSON format to your store index.php file.
The response received from the API is also sent in
JSON format. No other formats are available.
It is good practice to send the 'application/json' content type header with your requests. More info in the sections below.