1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/HTTPClient/AddAWS4Authorization.txt

14 lines
379 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";
AccessKey = "AccessKey";
SecretKey = "SecretKey";
Region = "Region";
Result = OPI_HTTPRequests.NewRequest()
.Initialize()
.SetURL(URL)
.AddAWS4Authorization(AccessKey, SecretKey, Region) // <---
.ProcessRequest("GET")
.ReturnResponseAsJSONObject();