R
Railway2w ago
Rhyan

.net 6

I can't connect to the endpoint
17 Replies
Percy
Percy2w ago
Project ID: a680c428-40e9-4879-a647-e39781388c33
Rhyan
Rhyan2w ago
a680c428-40e9-4879-a647-e39781388c33,
Brody
Brody2w ago
going to need more information here, can't connect is a bit too vague unfortunately
Rhyan
Rhyan2w ago
I created a test API in dotnet 6, with the default endpoint and added cors for any origin, and I want to access the endpoint that is there when we create the API, I tried with the domain:3000/GetWeatherForecast that was created, I tried to put the port in the variables and it doesn't work
Brody
Brody2w ago
the correct URL format would be https://domain.com/GetWeatherForecast
Rhyan
Rhyan2w ago
even with the domain generated by the site?
Brody
Brody2w ago
yeah substitute domain.com with the railway generated domain
Rhyan
Rhyan2w ago
Doesn't work
Brody
Brody2w ago
going to need more information here, doesn't work is a bit too vague unfortunately
Rhyan
Rhyan2w ago
No description
Rhyan
Rhyan2w ago
No description
Brody
Brody2w ago
that is a 404 page your own application is returning
Rhyan
Rhyan2w ago
same endpoint
No description
Brody
Brody2w ago
are you sure you've pointed the domain to the correct port? the you would need to debug why your application is returning 404
Rhyan
Rhyan2w ago
I don't even know how to debug it, if it's literally a standard dotnet api project with cors without any restrictions It magically started working :confused_nick: thx u help
Brody
Brody2w ago
i didnt do anything lol
Rhyan
Rhyan2w ago
your presence counts
Want results from more Discord servers?
Add your server