Donāt worry dude. I am smart enough to randomly change some characters in it.
And can you specify what i should send in ācontent-typeā, as Iāve tried a lot of things.
You will tend to get āBAD CSRFā if your api key has not been supplied correctly. The best way to send it is via HTTP headers. There are more details at the top of our api documentation.
You might need to have correct capitalization for your header keys. So ācontent-typeā needs to be changed to āContent-Typeā. Same for āContent-Lengthā, but you probably donāt even need to specify that one.
Ohh good, glad you got it working! Yes, sending them in the HTTP headers is the correct way to do it now, but they should still work in the body of the POST. Because Iām trying to improve our error messaging when using the API is there anything you changed as well? Also would you be willing to share the actual node http request code? And how are you using something like querystring.stringify on your payload? Thanks!
Blake do you have someone on your engineering team who would also guide me how to make the same request with Node.js. Can talk via DM if you donāt want to post that in this Python thread. Thanks a lot!