[SOLVED] UHTTP send with OAuth 2
Author: slana@compekon.cz (jitkas)
Hi, can you give me some example, how to call external api via HTTPS with OAuth2? I have https address, valid token and my test in SoapUI works OK. I'm trying this code in Uniface 9.7, but it doesn/t work:
variables string vUri, vHeaders, vContent, vResponse, vToken endvariables vUri="https://..." vToken="eyJ0e..." vHeaders="Authorization=Bearer %%vToken" vContent="" vResponse="" activate "UHTTP".send(vUri, "GET", "", "", vHeaders, vContent, vResponse) Thanks, Jitka