We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use localtunnel for Twilio. It appears that POST requests are not forwarded, which is strange.
I am using localtunnel 0.3 (the version from gem install) with Ruby 1.9.3-p194.
My backend (in R) contains
... if (!req$post()) { str = 'Nothing posted!' } else { str = paste('', req$POST()$From, ' said: ', req$POST()$Body, ' ') } ...
POSTing from localhost works:
$ curl -d From=Me -d Body=Herpderp http://localhost:21902/custom/echo_twilio
Using localtunnel doesn't: $ curl -d From=Me -d Body=Herpderp http://582u.localtunnel.com/custom/echo_twilio
The text was updated successfully, but these errors were encountered:
Seems very odd. Can you try localtunnel v2 beta and see if you get the same problem?
Sorry, something went wrong.
The latest beta forwards POST requests fine for me.
No branches or pull requests
I am trying to use localtunnel for Twilio. It appears that POST requests are not forwarded, which is strange.
I am using localtunnel 0.3 (the version from gem install) with Ruby 1.9.3-p194.
My backend (in R) contains
...
if (!req$post()) {
str = 'Nothing posted!'
} else {
str = paste('', req$POST()$From, ' said: ',
req$POST()$Body, ' ')
}
...
POSTing from localhost works:
$ curl -d From=Me -d Body=Herpderp http://localhost:21902/custom/echo_twilio
Me said: HerpderpUsing localtunnel doesn't:
Nothing posted!$ curl -d From=Me -d Body=Herpderp http://582u.localtunnel.com/custom/echo_twilio
The text was updated successfully, but these errors were encountered: