You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-27 22:18:36 +02:00
Main build (Jenkins)
This commit is contained in:
16
docs/en/examples/HTTPClient/SetOAuthV1Algorithm.txt
vendored
Normal file
16
docs/en/examples/HTTPClient/SetOAuthV1Algorithm.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
URL = "https://httpbin.org";
|
||||
URL = URL + "/get";
|
||||
|
||||
Token = "***";
|
||||
Secret = "***";
|
||||
UsersKey = "***";
|
||||
UsersSecret = "***";
|
||||
Version = "1.0";
|
||||
|
||||
Result = OPI_HTTPRequests.NewRequest()
|
||||
.Initialize(URL)
|
||||
.StartMultipartBody()
|
||||
.AddOAuthV1Authorization(Token, Secret, UsersKey, UsersSecret, Version)
|
||||
.SetOAuthV1Algorithm("HMAC", "SHA1") // <---
|
||||
.ProcessRequest("GET")
|
||||
.ReturnResponseAsJSONObject();
|
||||
Reference in New Issue
Block a user