How to enforce “accept” OR “ format” parameters in HTTP URL to enforce XML response from server than a JSON

I am always getting JSON response for my HTTP request to access one ORDS-Oracle Rest Data Services API: http://localhost:8080/ords/hr/employees/ enter image description here

However my requirement is to get XML response. I tried to choose XML from drop down list available at POSTMAN, however content is not changing to XML.
I need a way to specify parameter as part of HTTP URL so that response is XML than JSON and I tried to change URL like below: Way1: http://localhost:8080/ords/hr/employees?format=xml Way2: http://abcdef.us.oracle.com:8001/claims-ws/api/generic/lineofbusinesses/421?Content-Type:application/xml Way3: http://abcdfef.us.oracle.com:8001/claims-ws/api/generic/lineofbusinesses/421?Accept:application/xml
However nothing is working and response is always JSON. Any suggestion?

Hey @shurajne

Do you know that the API returns an XML response? If it has not been implemented, it wouldn’t ever return that.

Changing the options on the Postman side wouldn’t automatically change the structure of the payload, unless it’s been designed to do that.

What can you tell us about the API - It looks like you’re running that locally…have you take this code from somewhere else and are just trying things out?