textbelt icon indicating copy to clipboard operation
textbelt copied to clipboard

getcarriers=1 not working on textbelt.com/text

Open djds23 opened this issue 9 years ago • 1 comments

When I clone & run the project locally, everything appears to be a-okay. The endpoint returns an array of carriers: screen shot 2015-12-30 at 6 15 22 pm

However in production when I issue the same command I just get the {"success": true} response: screen shot 2015-12-30 at 6 15 51 pm

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.

djds23 avatar Dec 30 '15 23:12 djds23

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.

typpo avatar Dec 30 '15 23:12 typpo