Accessing a Restlet from OAuth and C#
I have a working Restlet. I call it via C# but I believe there was a recent update to require SHA256. I’ve updated my code to comply, but for some reason my credentials don’t seem to be working to access the RESTLET anymore (403 forbidden). Can someone provide me the steps to create the necessary elements for the consumer_Id, consumer_secret, token_id, token_secret and give it properly access to my restlet? I am tried creating new keys but not sure if I am missing a step in the process




toddmba
This is what my header currently looks like.
Authorization: OAuth oauth_signature=”0wrt/F%2BMG457YiEZvK36CPN/LCijt6kzlbhLqYPzN6c=”,oauth_version=”1.0″,oauth_nonce=”1115680″,oauth_signature_method=”HMAC-SHA256″,oauth_consumer_key=”732d1773826c5f43f78b4963343ae01e33311f46bc8bc0553d9f886306693683″,oauth_token=”76bc81b1c4b48061a7242302653c6fa34337fa0677c50992e276f2655e4ef61d”,oauth_timestamp=”1680797548″,realm=”4677524″
toddmba
Some progress. I am able to get 200 OK now from Postman and from C#. However nothing comes back but a empty response. When I run the restlet from being logged into my account and going to the deployment url throug NetSuite’s UX I get results. Why are the results not coming back in Postman or my App?
toddmba
Find the issue on my roles permissions. If anyone needs help with this in the future just let me know.