Skip to Content
0

How to create aouth-signature in HANA xsjs code ?

Mar 03, 2017 at 03:52 PM

16

avatar image
Hi, 

/* I am trying to implement code for generation of aouth_Signature in HANA xsjs,am aware that there is an algorithm to generate aouth-Signature.
( oauth_consumer_key, oauth_signature_method, oauth_timestamp,oauth_nonce )
There are Supporting API's in Node.js , Phyton , PHP to create the same. 

Looking for the way how we can implement in XSJS Code ? Is their any standard configuration we have to do for it.  */

Code 
var req = new $.net.http.Request($.net.http.POST, "/xxxxxxxx/search?offset=0&limit=10&oauth_consumer_key=e552f263489a47c6b051697cecfc92ef&oauth_token=850fe1bcad00416cbc99ca511dbca9b6&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1488553007&oauth_nonce=9W1e0zASTty&oauth_version=1.0&oauth_signature=hQ3r9aIv51stWMqY2MHrJdo4xwY=");  
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers