SuiteScript 2 restlet 使用 Node 访问
SuiteScript 2 restlet accessing with Node
我需要使用 Node 和 Oauth 调用 SuiteScript restlet,我似乎找不到足够的信息。我已经设置了 "Integrations app" 并且我有钥匙。哪个节点 Oauth 最适合 POST 请求?我们有 npm Oauth 1 和 2,我们有简单的 OAuth 等。然后我们有传递信息的形式,每种情况下都不同,因为 NetSuite 有自己的要求。我似乎无法找到正确的组合来让它发挥作用。任何帮助将不胜感激。
提前感谢您提供的任何帮助。
您不需要使用 Oauth。
向 RESTlet
发送请求时使用 "Authorization" header
例如:
"Authorization" : 'NLAuth nlauth_account=******, nlauth_email=****, nlauth_signature=***, nlauth_role=3'
我需要使用 Node 和 Oauth 调用 SuiteScript restlet,我似乎找不到足够的信息。我已经设置了 "Integrations app" 并且我有钥匙。哪个节点 Oauth 最适合 POST 请求?我们有 npm Oauth 1 和 2,我们有简单的 OAuth 等。然后我们有传递信息的形式,每种情况下都不同,因为 NetSuite 有自己的要求。我似乎无法找到正确的组合来让它发挥作用。任何帮助将不胜感激。
提前感谢您提供的任何帮助。
您不需要使用 Oauth。 向 RESTlet
发送请求时使用 "Authorization" header例如:
"Authorization" : 'NLAuth nlauth_account=******, nlauth_email=****, nlauth_signature=***, nlauth_role=3'