oauth-pythonclient icon indicating copy to clipboard operation
oauth-pythonclient copied to clipboard

Don't persist headers across requests

Open murraystokely opened this issue 1 year ago • 0 comments

Don't persist headers across requests.

If you send a POST request followed by a GET request, then headers provided by the POST request such as e.g. 'Content-Type': 'application/x-www-form-urlencoded' will be sent also with the GET request, where they are unexpected and will cause 415 errors from QuickBooks Online API.

murraystokely avatar Jul 17 '23 02:07 murraystokely