textbelt
textbelt copied to clipboard
getcarriers=1 not working on textbelt.com/text
When I clone & run the project locally, everything appears to be a-okay. The endpoint returns an array of carriers:
However in production when I issue the same command I just get the {"success": true}
response:
Command in question:
curl -X POST http://textbelt.com/text \
-d "getcarriers=1" \
-d "number=2025550106" \
-d "message=I sent this message for free with textbelt.com"
Is it possible the code running on textbelt.com
is out of date?
As a note the number I've provided is fake.
Yeah, the current textbelt.com hasn't been updated with the carriers code, which was merged a bit under a month ago. https://github.com/typpo/textbelt/pull/57
I haven't updated the server because the carriers stuff wasn't in the documentation. I intended to change the endpoint to something like /carriers/
and update the documentation accordingly, but haven't done so yet.