POST Requests not working on deployment
mohcine50
HOBBYOP

a year ago

I am testing POST requests that work perfectly in development mode, but they fail when deployed on Railway.

13 Replies

mohcine50
HOBBYOP

a year ago

N/A


a year ago

What's the error message?


mohcine50
HOBBYOP

a year ago

404 code with this error message
Cannot POST /webhook


a year ago

perhaps this is your issue?


mohcine50
HOBBYOP

a year ago

No, it's not I am using https


a year ago

check the solution then


mohcine50
HOBBYOP

a year ago

this is not my problem !!


a year ago

you need to be using https


mohcine50
HOBBYOP

a year ago

I am


mohcine50
HOBBYOP

a year ago

@Brody any help here ?


a year ago

There's not much we can help with here, this is your application returning 404, not railway


mohcine50
HOBBYOP

a year ago

But it’s working fine locally


a year ago

unfortunately that doesn't mean there isn't an issue with your code or how you are calling your API


Loading...