POST Requests not working on deployment
mohcine50
HOBBYOP

2 years ago

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

Closed

13 Replies

mohcine50
HOBBYOP

2 years ago

N/A


2 years ago

What's the error message?


mohcine50
HOBBYOP

2 years ago

404 code with this error message

Cannot POST /webhook


2 years ago

perhaps this is your issue?


mohcine50
HOBBYOP

2 years ago

No, it's not I am using https


2 years ago

check the solution then


mohcine50
HOBBYOP

2 years ago

this is not my problem !!


2 years ago

you need to be using https


mohcine50
HOBBYOP

2 years ago

I am


mohcine50
HOBBYOP

2 years ago

@Brody any help here ?


2 years ago

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


mohcine50
HOBBYOP

2 years ago

But it’s working fine locally


2 years ago

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...