Description send arq raw
http://localhost:5000/modem/send_arq_raw
Parameters
data
- should be base64 encoded
dxcall
- with/without SSID
type
- file/data type where raw = uncompressed, raw_lzma = lzma compression and raw_gzip = gzip
Response
Example
curl -X post -H "Content-Type: application/json" -d'{"dxcall": "XX1XXX-6" ,"type": "raw", "data": "RnJlZURBVEEgaXMgdGhlIGJlc3Qh"}' http://localhost:5000/modem/send_arq_raw
{
"data":"RnJlZURBVEEgaXMgdGhlIGJlc3Qh",
"dxcall":"XX1XXX-6",
"type":"raw"
}
Errors
This API uses the following error codes:
404 Not Found
: The requested resource was not found.503 Modem not running
: Modem not running.503 Modem Busy
: Modem Busy.