All data must be UTF-8 encoding.
myxer.* method request
- The REQUIRED parameter
method is used to specify the calling method.
- Endpoint URL is http://www.myxer.com/services/api/
- The response is a simple XML format
Methods not requiring a file POST
API methods that do not require a binary file to be posted can encode the
arguments on the URL or in a simple form post.
Methods requiring a file POST
If you're constructing the POST that requires a binary file as an argument,
it should look something like this. All line endings must be \r\n. This is a standard
multipart form post.
POST /services/api/ HTTP/1.1
Content-Type: multipart/form-data; boundary=0512----------------9d5r7d23
Host: www.myxer.com
Content-Length: 4654256
--0512----------------9d5r7d23
Content-Disposition: form-data; name="method"
api.ringtone.add
--0512----------------9d5r7d23
Content-Disposition: form-data; name="api_key"
3632623532453245
--0512----------------9d5r7d23
Content-Disposition: form-data; name="name"
436436545
--0512----------------9d5r7d23
Content-Disposition: form-data; name="api_sig"
43732850932746573245
--0512----------------9d5r7d23
Content-Disposition: form-data; name="file"; filename="C:\test.mp3"
Content-Type: audio/mpeg
{RAW MP3 DATA}
--0512----------------9d5r7d23--