REQUEST-1

RAW RESULT:

string(1029) "HTTP/1.1 401 Unauthorized X-N-OperationId: 74a9bd66-3c09-4b8a-8374-9ffb1617132f NS_RTIMER_COMPOSITE: 8833793:706172746E6572733031332E70726F642E7376616C652E6E65746C65646765722E636F6D:80 Strict-Transport-Security: max-age=31536000 Pragma: No-Cache Cache-Control: No-Cache Expires: 0 WWW-Authenticate: OAuth realm="3598240_SB2", error="token_rejected", error_description="Invalid login attempt." Content-Type: application/vnd.oracle.resource+json; type=error; charset=UTF-8 Content-Length: 328 P3P: CP="CAO PSAa OUR BUS PUR" Vary: User-Agent Date: Tue, 13 Apr 2021 01:58:14 GMT Connection: close Set-Cookie: NS_ROUTING_VERSION=LEADING; path=/ Akamai-GRN: 0.8a9ec817.1618279093.2439efbe {"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2","title":"Unauthorized","status":401,"o:errorDetails":[{"detail":"Invalid login attempt. For more details, see the Login Audit Trail in the NetSuite UI at Setup > Users/Roles > User Management > View Login Audit Trail.","o:errorCode":"INVALID_LOGIN"}]} "

OAUTH RESULT-2:

array(1) { ["HTTP/1_1_401_Unauthorized X-N-OperationId:_74a9bd66-3c09-4b8a-8374-9ffb1617132f NS_RTIMER_COMPOSITE:_8833793:706172746E6572733031332E70726F642E7376616C652E6E65746C65646765722E636F6D:80 Strict-Transport-Security:_max-age"]=> string(806) "31536000 Pragma: No-Cache Cache-Control: No-Cache Expires: 0 WWW-Authenticate: OAuth realm="3598240_SB2", error="token_rejected", error_description="Invalid login attempt." Content-Type: application/vnd.oracle.resource json; type=error; charset=UTF-8 Content-Length: 328 P3P: CP="CAO PSAa OUR BUS PUR" Vary: User-Agent Date: Tue, 13 Apr 2021 01:58:14 GMT Connection: close Set-Cookie: NS_ROUTING_VERSION=LEADING; path=/ Akamai-GRN: 0.8a9ec817.1618279093.2439efbe {"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2","title":"Unauthorized","status":401,"o:errorDetails":[{"detail":"Invalid login attempt. For more details, see the Login Audit Trail in the NetSuite UI at Setup > Users/Roles > User Management > View Login Audit Trail.","o:errorCode":"INVALID_LOGIN"}]} " }

JSON RESULT


--TEST OF OAUTH 1.0 DONE--