title: Create Ticket using Freshdesk api, response is always { “logout”: “success” }
body: <p>Well, I have tried every thing mentioned in Fresh-desk API (<a href="http://freshdesk.com/api#create_ticket" rel="nofollow">http://freshdesk.com/api#create_ticket</a>) to create new ticket but with no success.</p>
  
  <p>Even though i am able to create a new ticket from a Curl request, but when i use a browser REST client it says:</p>
  
  <pre><code>{
      "logout": "success"
  }
  </code></pre>
  
  <p>I have used the following : <a href="https://companyname.freshdesk.com/helpdesk/tickets.json" rel="nofollow">https://companyname.freshdesk.com/helpdesk/tickets.json</a></p>
  
  <p>Headers: <code>Content-type:application/json Authorization:(Basic Authorization using APIKEY:X)</code></p>
  
  <pre><code>{ "helpdesk_ticket":{ "description":"No ticket is created ...", "subject":"Support needed..", "email":"anything_xyz@gmail.com", "priority":1, "status":2 } }
  </code></pre>
  
  <p>I have tried clearing my browser cache many times. But the issue remains the same. Please someone suggest.</p>