Dragina Posted May 28, 2015 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. Link to comment Share on other sites More sharing options...
Ingolme Posted May 29, 2015 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now