Uploading PHP-to-JSON REST API.