Search found 2 matches

by bcisne
Thu Feb 23, 2023 3:36 pm
Forum: HTTPAPI
Topic: HttpxxxClob
Replies: 1
Views: 5119

Re: HttpxxxClob

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 ...
by bcisne
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 ...