Skip to content

Instantly share code, notes, and snippets.

@thomaswrenn
Last active September 17, 2018 20:17
Show Gist options
  • Save thomaswrenn/0047b3912d971cbd773a to your computer and use it in GitHub Desktop.
Save thomaswrenn/0047b3912d971cbd773a to your computer and use it in GitHub Desktop.
NetSuite REST API Roles GET Request
GET /rest/roles HTTP/1.1
Authorization: NLAuth [email protected], nlauth_signature=knr6M=c(]GQ33aJwb97m^Rvp9xmUe/+?&&C9tDKr}2iKQDo32N
Accept-Language: en-US
Accept: */*
Cookie: NS_VER=2015.2.0
Host: rest.netsuite.com
Connection: close
User-Agent: Paw/2.2.5 (Macintosh; OS X/10.11.1) GCDHTTPRequest
HTTP/1.1 400 Bad Request
Date: Wed, 11 Nov 2015 16:42:07 GMT
Server: Apache
Cache-Control: No-Cache
Pragma: No-Cache
Expires: 0
NS_RTIMER_COMPOSITE: 764826377:706172746E6572732D6A6176613030382E7376616C652E6E65746C65646765722E636F6D:80
P3P: CP="CAO PSAa OUR BUS PUR"
Vary: User-Agent
Connection: close
Transfer-Encoding: chunked
Content-Type: application/json
{"error" : {"code" : "USER_ERROR", "message" : "You have entered an invalid email address or password. Please try again."}}
@thomaswrenn
Copy link
Author

This is against this url:
https://rest.netsuite.com/rest/roles

This is probably not even a RESTLet endpoint? Not sure what this is? Could you tell me?

@genio
Copy link

genio commented Sep 17, 2018

Did you ever get an answer? Their documentation is sadly lacking even still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment