I'm shooting a POST request to a local server but the response I get back from the server is that the "Token is missing". I get a 200 OK response so it's connects just fine but the response is that the Token is missing. But I have added the Token according to the API instructions.
Can anyone see what I'm doing wrong? It's driving me crazy. The URL, IP Address, Port and Authorization are all correct but when I run a GET request, that works just fine.
POST /url/example HTTP/1.1
Host: 192.168.124.33:7001
Authorization: Basic abcdefghijklmnop=
token: JDI1M2UwOWVhOTA3ZDU2ZDMkdA==
xml: <?xml version="1.0" encoding="UTF-8"?>
....
Unfortunately, I can't say specifically which API this is as I am under an NDA.
EDIT: I should also note that running this process from the API itself (it has a test button), works fine. Looking at the Request Headers and Body in Chrome Dev Tools shows that I am sending the same text as the API.