You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
16 lines
467 B
Plaintext
Vendored
16 lines
467 B
Plaintext
Vendored
URL = FunctionParameters["HTTP_URL"];
|
|
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();
|