How do I POST XML data to a webservice with Postman?

后端 未结 1 734
挽巷
挽巷 2020-12-05 00:03

I want POST an XML request to a webservice using Postman. However, when I check the available request formats, I only see options for form-data, x-www-for

相关标签:
1条回答
  • 2020-12-05 00:31

    Send XML requests with the raw data type, then set the Content-Type to text/xml.


    1. After creating a request, use the dropdown to change the request type to POST.

    2. Open the Body tab and check the data type for raw.

    3. Open the Content-Type selection box that appears to the right and select either XML (application/xml) or XML (text/xml)

    4. Enter your raw XML data into the input field below

    5. Click Send to submit your XML Request to the specified server.

    0 讨论(0)
提交回复
热议问题