Hi
It s working before but not any more
The XML that I am sending is stored in an XML file:
<expense>
<user>https://api.irisopenbooks.co.uk/v2/users/205154</user>
<category>https://api.irisopenbooks.co.uk/v2/categories/249</category>
<dated-on type="date">2015-12-13</dated-on>
<mileage type="decimal">220.00</mileage>
<description>test mileage</description>
<vehicle-type>Car</vehicle-type>
<reclaim_mileage_rate>0.4</reclaim_mileage_rate>
<rebill_mileage_rate>0.4</rebill_mileage_rate>
I am using google auth play:
I created a token and added two headers
- ‘Accept’ with value ‘application/xml’
- and ‘Content-Type’ with value ‘application/xml’
and I I tried posting it using thr following URL
Before posting I ma setting the content type on the google auth play user
interface to: application/xml’
But it is coming with 500 error
HTTP/1.1 500 Internal Server Error
X-request-id: e3e817af-cfb7-4876-8914-6b5c736c315d
X-xss-protection: 1; mode=block
X-rev: 8577aa
X-content-type-options: nosniff
Transfer-encoding: chunked
Set-cookie: uid=bUl+XlZvEghbLwhQDrylAg==; expires=Tue, 13-Dec-16 19:01:28 GMT; domain=.freeagent.com; path=/
Vary: Origin
X-runtime: 0.031940
Server: nginx
Connection: keep-alive
X-frame-options: SAMEORIGIN
Content-type: application/xml
X-host: web2-gc
This xml was working last time I tried in April this year.
Please help.
Pankaj