首页 > 解决方案 > 使用 Postman 的 NetSuite RESTlet NLAuth

问题描述

我是 NetSuite 的新手,我尝试使用 Postman 发出 REST 请求,我在标题中写入了 NLAuth 授权,如上一行:

    Authorization : NLAuth nlauth_account=0000000, nlauth_email=at@at.com, nlauth_signature=mypassworld,nlauth_role=3

我遵循本教程的过程:https ://community.boomi.com/docs/DOC-2676#jive_content_id_To_call_the_getRecord_RESTlet

但我收到以下回复:

    {
        "error": {
          "code": "INVALID_LOGIN_ATTEMPT",
          "message": "Invalid login attempt."
        }
    }

标签: jsonhttppostmannetsuite

解决方案


使用 Postman 的内置授权工具构建正确的 OAuth1 标头:https ://www.getpostman.com/docs/v6/postman/sending_api_requests/authorization


推荐阅读