405 Not Allowed Method
feliperos19
FREEOP

a year ago

I'm setting up a project using Spring Boot 3.3 with Spring Security 6 to create rest routes, and I'm using a separate frontend in React with NGinx, but I'm having several problems with the 405 not allowed method error, and I have no idea where to start investigating, could someone give me some direction? Please.

17 Replies

feliperos19
FREEOP

a year ago

f4cdcd7f-0c97-47cc-826e-9ffd1fd64620


a year ago

please send a link to the page where i could see this error for myself


feliperos19
FREEOP

a year ago


a year ago

can you provide some test credentials?


feliperos19
FREEOP

a year ago

admin@admin.com
1234


a year ago

your frontend is trying to make a request to itself, it needs to make a request to the backend's domain


feliperos19
FREEOP

a year ago

inside the front end it is configured for the internal URL of the backend, now I put the custom domain of the same and the problem continues


feliperos19
FREEOP

a year ago

1309236413128114200


a year ago

thats not even the base url, at least its not the url you sent me


feliperos19
FREEOP

a year ago

This is the URL of the backend in the case that I configured for axios to make the requests, the URL that I sent previously is that of the website itself


a year ago

axois is not making requests to that url


feliperos19
FREEOP

a year ago

Could you send me where you saw this information (I definitely don't know what I'm doing anymore)


a year ago

1309237015002481000


a year ago

1309237061995335700


a year ago

no web.


feliperos19
FREEOP

a year ago

Thanks for the information, I don't understand how the environment variable didn't change but I'll check the logic of the code, thanks for the help and sorry for the inconvenience.


a year ago

no worries


Loading...