Dragina 0 Posted May 28, 2015 Report Share Posted May 28, 2015 I'm getting a bit crazy and i don't really understand this. How should I put together the file. I got from the instructions that the authorization part should be at the top. <?xml version="1.0" encoding="UTF-8"?> <head> Accept: application/xmlAccess-Token: 605de498-486c-ae9f-b740-119cd660badfClient-Secret: 2a5OUpaWhzContent-Type: application/xml </head> <POST>https://api.net/suppliers</POST> <Supplier> <Name>Taxi AB</Name> </Supplier> But the file just returns error from the head part. Quote Link to post Share on other sites
Ingolme 1,020 Posted May 29, 2015 Report Share Posted May 29, 2015 Where's the documentation? I suspect they're asking you to send HTTP headers along with the request. How are you sending the XML? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.