cyclops2306
(Chirantan Parasnis)
1
Hi,
I am currently trying to send a request via Postman.
-
Request content-type has to be application/json
-
For one of the data objects I would like to pass an XML value. How do i do this in postman request body?
-
Is it also possible to create a variable for testing purpose where I can pass local XML file reference?
BJohansen
(Ben Johansen)
2
in the Request Pre-request Script
//reset the 'Content-Type header
pm.request.headers.remove("Content-Type")
pm.request.headers.add({key: "Content-Type",value: "application/json"});
am I understanding your question correctly