You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be UTTERLY wrong here and if so feel free to ignore me but I don't see anywhere in your server where you're specifying which method each handler is being used for. In our servers we often use the same endpoints to perform completely different functions depending on if its a GET or POST request. I see that you guys aren't doing that but I think its a good idea to make sure that your requests will only fire given the right method (you can check this on req.method)
Also you guys will <3 express week where this stuff becomes a hell of a lot easier.
The text was updated successfully, but these errors were encountered:
I might be UTTERLY wrong here and if so feel free to ignore me but I don't see anywhere in your server where you're specifying which method each handler is being used for. In our servers we often use the same endpoints to perform completely different functions depending on if its a GET or POST request. I see that you guys aren't doing that but I think its a good idea to make sure that your requests will only fire given the right method (you can check this on req.method)
Also you guys will <3 express week where this stuff becomes a hell of a lot easier.
The text was updated successfully, but these errors were encountered: