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.
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.
