REQUEST-1

RAW RESULT:

string(1031) "HTTP/1.1 401 Unauthorized X-N-OperationId: 0455710c-fe50-4a45-be4e-b95e52490460 NS_RTIMER_COMPOSITE: 666948604:706172746E6572733032342E70726F642E7376616C652E6E65746C65646765722E636F6D: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: Fri, 14 May 2021 06:28:01 GMT Connection: close Set-Cookie: NS_ROUTING_VERSION=LAGGING; path=/ Akamai-GRN: 0.a41fc917.1620973680.327f9486 {"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:_0455710c-fe50-4a45-be4e-b95e52490460 NS_RTIMER_COMPOSITE:_666948604:706172746E6572733032342E70726F642E7376616C652E6E65746C65646765722E636F6D: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: Fri, 14 May 2021 06:28:01 GMT Connection: close Set-Cookie: NS_ROUTING_VERSION=LAGGING; path=/ Akamai-GRN: 0.a41fc917.1620973680.327f9486 {"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--