Wow, thanks for all the suggestions, everyone!
Tried the curl command, and it worked—so the issue’s definitely on my client side. Turns out I was missing the `Content-Type` header in my fetch() call.
Still weird that the server didn’t throw a 400 instead of 405, but hey, it’s fixed now.
Gonna check my server config too, just in case. Appreciate the help!
(Also, Postman is a lifesaver—downloading it now.)
Tried the curl command, and it worked—so the issue’s definitely on my client side. Turns out I was missing the `Content-Type` header in my fetch() call.
Still weird that the server didn’t throw a 400 instead of 405, but hey, it’s fixed now.
Gonna check my server config too, just in case. Appreciate the help!
(Also, Postman is a lifesaver—downloading it now.)
