html-post

python requests January 5    2

I'm writing tests for RESTful API POST-verb which sends multi-part form data to the server. I'd like to json-encode the data. What would be the correct way to do that? Below are 3 tests, of which the first 2 pass and the third one (the scenario I nee

Add custom header on non-ajax post December 19    1

AFAIK it's not possible to set a header field when a form is submited, it can only be done in ajax requestsThis questions also points that it's not possible:How to set a Header field on POST a form?Custom HTTP Request headers in HTML But reading Cros

You Might Also Like