when making a POST request, an extra key shows up in render.com logs where the BE API is deployed.
i am working on a project for my backend class. I built my backend using PostgresQL and Ruby on Rails for my API. I am having problems with my fetch request from my front end client to the API i deployed on render.com
I send a fetch request to the api with only the email and password in the body. In the console, it returns unauthorized EVEN IF the email and password is correct. i checked the logs on render.com where the API is deployed and it gives me this error:
1 Reply
it produces an extra "authentication" key and i don't know where that is coming from.
in my rails controller, i only permitted email and password, without a top level key
these are my routes
im lost really and i dont know what do do and how to debug this