another guy figured out the authorization error. My bad.
I was sending this:
<httpHeader><header name="Content-Type" value="application/JSON"/> Bearer {{token}}</httpHeader>
but it should have been:
<httpHeader><header name="Content-Type" value="application/JSON"/> <header name="Authorization ...
Search found 2 matches
- Thu Feb 23, 2023 3:36 pm
- Forum: HTTPAPI
- Topic: HttpxxxClob
- Replies: 1
- Views: 5119
- Wed Feb 22, 2023 9:09 pm
- Forum: HTTPAPI
- Topic: HttpxxxClob
- Replies: 1
- Views: 5119
HttpxxxClob
I can use HttpPostClob to get logged-in to a server, ie. get a bearer token for the session but an api call to post a phone, address, etc, fails, unauthorized.
Then i use scott's http_string procedure, it works, same api, same token, etc, etc.
then I call the same api via httppostclob and it works ...
Then i use scott's http_string procedure, it works, same api, same token, etc, etc.
then I call the same api via httppostclob and it works ...