1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/HTTPClient/SetOAuthV1Algorithm.txt
Vitaly the Alpaca (bot) 18319511f9 Main build (Jenkins)
2025-05-10 22:57:41 +03:00

16 lines
458 B
Plaintext
Vendored

URL = "https://httpbin.org";
URL = URL + "/get";
Token = "***";
Secret = "***";
UsersKey = "***";
UsersSecret = "***";
Version = "1.0";
Result = OPI_HTTPRequests.NewRequest()
.Initialize(URL)
.AddOAuthV1Authorization(Token, Secret, UsersKey, UsersSecret, Version)
.SetOAuthV1Algorithm("HMAC", "SHA1") // <---
.ProcessRequest("GET")
.ReturnResponseAsJSONObject();