1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-09 23:12:35 +02:00
Files
OpenIntegrations/docs/en/examples/HTTPClient/AddBearerAuthorization.txt

10 lines
276 B
Plaintext
Raw Normal View History

2025-06-27 11:47:43 +03:00
 URL = FunctionParameters["HTTP_URL"];
2025-05-09 21:49:23 +03:00
URL = URL + "/get";
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.AddBearerAuthorization("123123") // <---
.ProcessRequest("GET")
.ReturnResponseAsJSONObject();