Everything works fine if I send an SMS via the dashboard.
I.E. It’s nicely buffered until “hologram receive --sms” picks it up.
But if I try to send using cURL for example via
https://private-anon-d241b9dbdd-hologram.apiary-mock.com/api/1/sms/incoming
the returned result is { “success”: true} but my modem is not getting the message.
From the docs (I changed deviceid to mine):
curl --include \
--request POST \
--header "Content-Type: application/json" \
--data-binary "{
\"deviceid\": 1234,
\"fromnumber\": \"+1-312-555-1212\",
\"body\": \"Hello world\"
}" \
'https://private-anon-d241b9dbdd-hologram.apiary-mock.com/api/1/sms/incoming'
HTTP/1.1 200 OK
Server: Cowboy
Connection: keep-alive
X-Apiary-Ratelimit-Limit: 120
X-Apiary-Ratelimit-Remaining: 119
Content-Type: application/json
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE,CONNECT
Access-Control-Max-Age: 10
X-Apiary-Transaction-Id: 59f4d77b4a24630700aa7e6f
Content-Length: 21
Date: Sat, 28 Oct 2017 19:16:11 GMT
Via: 1.1 vegur
{
“success”: true
}