Token-Based Authentication

CONSUMER KEY

814d7696dad4105ef726ffb1fbd53b76184a4dd04b104804570b188ad73fa909

CONSUMER SECRET

19e7d40f78588016e2001d502e817fac7c1dae3ee3d40f263e4545aafcf2128c

TOKEN ID

57b08f7c020e6141c7c8bde82b1879322cde11788937ee6275a5f4c606c6c35c

TOKEN SECRET

df4e6e27333d5d285c56d7b6b1fe7b129a4eeeec960a47c7fd0d2051d382fda6

Account ID

4539762

Auth Version

1.0

Example header:

OAuth oauth_signature=”di8XhUVV%2FtnsX8ZnPTctG%2BsPmS0%3D”,oauth_version=”1.0″,oauth_nonce=”6rFz65xPS2twLjNKhC1pspMMT1zC4UmS”,oauth_signature_method=”HMAC-SHA1″,oauth_consumer_key=”814d7696dad4105ef726ffb1fbd53b76184a4dd04b104804570b188ad73fa909″,oauth_token=”57b08f7c020e6141c7c8bde82b1879322cde11788937ee6275a5f4c606c6c35c”,oauth_timestamp=”1556262367″,realm=”4539762″

Example Curl

curl -i -X POST \

   -H “Content-Type:application/json” \

   -H “Authorization:OAuth oauth_signature=\”di8XhUVV%2FtnsX8ZnPTctG%2BsPmS0%3D\”,oauth_version=\”1.0\”,oauth_nonce=\”6rFz65xPS2twLjNKhC1pspMMT1zC4UmS\”,oauth_signature_method=\”HMAC-SHA1\”,oauth_consumer_key=\”814d7696dad4105ef726ffb1fbd53b76184a4dd04b104804570b188ad73fa909\”,oauth_token=\”57b08f7c020e6141c7c8bde82b1879322cde11788937ee6275a5f4c606c6c35c\”,oauth_timestamp=\”1556262367\”,realm=\”4539762\”” \

   -d \

‘{ “email”: ” muniraj@ceino.com” }

‘ \

 ‘https://4539762.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=385&deploy=1’

Request Type

POST

Base URL: https://4539762.restlets.api.netsuite.com/app/site/hosting/restlet.nl

Leave a comment

Your email address will not be published. Required fields are marked *