9 months ago
hey guys, I recently created my own API using Railway to deploy it. It's written in Python. I also connected my domain to it. I've waited like 1 hour and restarted it and redeployed it and it still shows up as not found. Help?
0 Replies
9 months ago
is it running on the right port?
9 months ago
app error rather than a railway error looks like
9 months ago
super common for APIs to not have routes at the root, what is the actual issue you are experiencing
I am quite new to railway so I have no idea I will attach a screenshot however thanks for your help
Maybe it is a code issue on my end. Will check that out thanks for these helpful responses <:neonheart:1275176338587783240>
9 months ago
what endpoint are you trying locally vs here?
9 months ago
please try your best to answer my question
And then here I am using https://dragonapi.bluedragon.dev
9 months ago
which endpoint?
What are you putting after the domain?
https://dragonapi.bluedragon.dev
I am just using this plainly no /v1/response or anything
9 months ago
and you don't have like: dev/local vs prod profile that'd disable a landing page on a prod server?
Nope. I have no clue what you are talking about I am quite new to this I am very very sorry.
9 months ago
nono, that's fine.
Have you set to run on the PORT env var and created that env var?
9 months ago
their API is responding just fine, no need for this.
9 months ago
your app is returning 404, not railway
9 months ago
https://dragonapi.bluedragon.dev/api
returns a 405, so I'm going to guess that's an endpoint and things are working fine if you hit it (or the other endpoints) via insomnia/postman
9 months ago
any tool that sends requests, yes
@BillyDotWS just wanted to follow up, it is working, i appreciate your help so so much. <:neonheart:1275176338587783240>