@akrutov Normally if you are communicating with another service from NetSuite that would be using either http get or post method, to authenticate with another restlet or even a NetSuite restlet you can use
https://github.com/mark-keaton/oauth-netsuite Is a good library an a lot of people use it.