Getting an HTTP 405 Error - What's the Best Way to Fix It? or HTTP 405 Error: Why Is My Request Metho

22 Replies, 1761 Views

Ugh, 405s are the worst.

One time, my POST was getting blocked ‘cause the Content-Type header was missing.

Add `'Content-Type': 'application/json'` if you haven’t already.

Also, tools like HTTPie make debugging easier than curl IMO.

Messages In This Thread



Users browsing this thread: 1 Guest(s)