Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
how to call Netsuite restet External URL using CURL command in linux server
I found the below shell script but it is not working. I got below error.
{"error" : {"code" : "INVALID_LOGIN_CREDENTIALS", "message" : "You have entered an invalid email address or password. Please try again."}}
#!/bin/sh
#Put your RESTlet url here.
my_url="https://4328299-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=614&deploy=1"
#Put the body of your request in a file named data.json.
DATA_FILE="@data.json"
CONTENT_FLAG="Content-Type: application/json"
Token="postman-token: 793bfc88-1d04-b523-742f-05753a691149"
#Update the following line with valid values from your NetSuite account.
AUTH_STRING="Authorization: NLAuth nlauth_account=4328299_SB2,
Tagged:
1