21 Replies
a year ago
going to need more information here, can't connect is a bit too vague unfortunately
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
a year ago
the correct URL format would be https://domain.com/GetWeatherForecast
a year ago
yeah substitute domain.com with the railway generated domain
a year ago
going to need more information here, doesn't work is a bit too vague unfortunately
a year ago
that is a 404 page your own application is returning
a year ago
are you sure you've pointed the domain to the correct port?
a year ago
the you would need to debug why your application is returning 404
I don't even know how to debug it, if it's literally a standard dotnet api project with cors without any restrictions
a year ago
i didnt do anything lol





