Send HTTP POST request to 174.132.129.221, port 80 (use DNS request to obtain this IP address first, read more):
POST /100/secret HTTP/1.1 Host: sm.mika.ua Content-Type: text/plain Content-Length: 12 Some data...
100 is a client number, secret is a password. The server will send email and will respond:
HTTP/1.1 200 OK Date: Mon, 13 Dec 2010 16:20:25 GMT Server: Apache mod_fcgid/2.3.5 ... X-Powered-By: PHP/5.2.14 Content-Length: 54 Content-Type: text/plain Sent to test@example.com, 25 bytes, 0.02sec
To retrieve full log of recently sent data send this request (query params should be provided in this exact order):
GET /log?client=100&secret=code HTTP/1.1 Host: sm.mika.ua
Server will reply with something like this (lines end with \n):
HTTP/1.1 200 OK Date: Mon, 13 Dec 2010 16:20:25 GMT Server: Apache mod_fcgid/2.3.5 ... X-Powered-By: PHP/5.2.14 Content-Length: 64732 Content-Type: text/plain 30/10/2011 04:18:07: 48 bytes sent to abc@gmail.com: "RECORD 30.10.2011 13:34:06 0 172 1585 1 4 0" 30/10/2011 04:54:18: 53 bytes sent to abc@gmail.com: "RECORD 30.10.2011 13:34:06 0 172 1585 10 4 0 ---" 30/10/2011 05:12:32: 49 bytes sent to abc@gmail.com: "RECORD 30.10.2011 13:34:06 0 172 1585 10 4 1" 30/10/2011 08:45:27: 53 bytes sent to abc@gmail.com: "RECORD 30.10.2011 16:47:27 0 172 2350 1 4 1 DEBUG"
The report contains data for the last 90 days. We don't guarantee that older data are saved on the server.
You can get the same result, but in XML format. To do so, use:
GET /xml?client=100&secret=code HTTP/1.1 Host: sm.mika.ua
The output will look like:
HTTP/1.1 200 OK ... same headers ... <?xml version="1.0" ?> <data> <tick>30/10/2011 04:54:18: 53 bytes sent to abc@gmail.com: "RECORD 30.10.2011 13:34:06 0 172 1585 10 4 0 ---"</tick> <tick>30/10/2011 05:12:32: 49 bytes sent to abc@gmail.com: "RECORD 30.10.2011 13:34:06 0 172 1585 10 4 1"</tick> <tick>30/10/2011 08:45:27: 53 bytes sent to abc@gmail.com: "RECORD 30.10.2011 16:47:27 0 172 2350 1 4 1 DEBUG"</tick> </data>