Search found 3 matches

by Kyosukeh
Sat Jan 13, 2024 9:10 pm
Forum: HTTPAPI
Topic: Token not found yet setAuth seems working
Replies: 4
Views: 10973

Re: Token not found yet setAuth seems working

Its working !

thanks a lot for the help (and the tool)
by Kyosukeh
Sat Jan 13, 2024 8:20 am
Forum: HTTPAPI
Topic: Token not found yet setAuth seems working
Replies: 4
Views: 10973

Re: Token not found yet setAuth seems working

Hi Scott

Yes, Token = Bearer
in my case the API use the word Token
thats why i used HTTP_AUTH_USRDFN

in soapUI i do this
Capture d’écran 2024-01-13 101146.png
Capture d’écran 2024-01-13 101146.png (230.55 KiB) Viewed 10916 times
by Kyosukeh
Fri Jan 12, 2024 5:12 pm
Forum: HTTPAPI
Topic: Token not found yet setAuth seems working
Replies: 4
Views: 10973

Token not found yet setAuth seems working

Hi,

First time trying auth with HTTAPI,

im using http_setauth(HTTP_AUTH_USRDFN:'Token':'MyToken')
then http_req('GET':%trim(url):*OMIT:response);

it look like the token and auth is set

but i got a http 200 response with Token not found,

when i try the same thing in SoapUI it work

Anyone got ...