title: Azure Data Factory - Content type JSON but response in XML
body: <p>Apologies if my question is too basic but I'm learning the ropes of Azure, so fairly new ... 
  I need help with the following questions,</p>
  
  <p>I've written a WebActivity which makes a GET request with the following two header values,</p>
  
  <ul>
  <li><p>Content-Type: application/JSON</p></li>
  <li><p>Authorization: Bearer </p></li>
  </ul>
  
  <p>I'm expecting a response in JSON but unfortunately it's coming in an XML 
   format.  . Please refer to image attached,</p>
  
  <p><strong>Request</strong></p>
  
  <p><a href="https://i.stack.imgur.com/9w8U1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9w8U1.jpg" alt="GET Request"></a></p>
  
  <p><strong>Request RAW Format</strong></p>
  
  <pre><code>{
  "url": "https://someurl.com/data",
  "method": "GET",
  "headers": {
      "Content-Type": "application/json",
      "Authorization": "Bearer &lt;token&gt;"
  }
  </code></pre>
  
  <p>}</p>
  
  <p><strong>Response Received</strong>
  Adding some part of response Received,</p>
  
  <pre><code>{
  "Response": "&lt;Fleet version=\"1\" snapshotTime=\"2020-06-11T14:46:52Z\" xmlns=\"http://standards.iso.org/iso/15143/-3\"&gt;&lt;Links&gt;&lt;rel&gt;self&lt;/rel&gt;&lt;href&gt;https://someurl.com/data&lt;/href&gt;&lt;/Links&gt;&lt;Links&gt;&lt;rel&gt;first&lt;/rel&gt;&lt;href&gt;https://someurl.com/data&lt;/href&gt;&lt;/Links&gt;&lt;Links&gt;&lt;rel&gt;last&lt;/rel&gt;&lt;href&gt;https://someurl.com/data&lt;/href&gt;&lt;/Links&gt;&lt;Equipment&gt;&lt;EquipmentHeader&gt;&lt;OemName&gt;ENIGMA&lt;/OemName&gt;&lt;EquipmentId&gt;1021&lt;/EquipmentId&gt;&lt;/EquipmentHeader&gt;&lt;Location datetime=\"2020-06-11T12:08:59Z\"&gt;&lt;Latitude&gt;52.3292240&lt;/Latitude&gt;&lt;Longitude&gt;-0.1976080&lt;/Longitude&gt;&lt;/Location&gt;&lt;CumulativeOperatingHours datetime=\"2020-06-11T15:02:30Z\"&gt;&lt;Hour&gt;5119.03&lt;/Hour&gt;&lt;/CumulativeOperatingHours&gt;&lt;/Equipment&gt;&lt;Equipment&gt;&lt;EquipmentHeader&gt;&lt;OemName&gt;ENIGMA&lt;/OemName&gt;&lt;EquipmentId&gt;1025&lt;/EquipmentId&gt;&lt;/EquipmentHeader&gt;&lt;Location datetime=\"2020-06-11T13:31:57Z\"&gt;&lt;Latitude&gt;52.3170160&lt;/Latitude&gt;&lt;Longitude&gt;- ...
  </code></pre>
  
  <p>Can someone help me in understanding if I'm doing something wrong here, using <strong>Postman</strong>, it works perfectly fine .. I've also tried Azure Logic Apps and get same XML response</p>
  
  <p>Thank you in advance</p>