Getting 404 not found on my GET endpoints but posts endpoints working.
enochrentmase
TRIALOP

a year ago

I recently deployed my node express server, all my endpoints locally they are working fine. But in production I am having problems.

These endpoint are working fine, it's a post.

https://rannese-production.up.railway.app/api/auth/get-access-token
https://rannese-production.up.railway.app/api/buy-giftcard/

But the Get endoints like these ones is returning 404 not found.

https://rrannese-production.up.railway.app/api/country-giftcards?countryCode=ZA
https://rrannese-production.up.railway.app/api/country-operators?countryCode=ZA

Locally it's working like this without any problem:

http://localhost:5000/api/country-giftcards?countryCode=ZA

What's causing this and how can I fix?

Thank you!

0 Replies

Loading...