json - 使用 Postman 的 NetSuite RESTlet NLAuth

标签 json http postman netsuite

我是 NetSuite 的新手,我尝试使用 Postman 发出 REST 请求,我在 header 中写了 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."
        }
    }

最佳答案

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

关于json - 使用 Postman 的 NetSuite RESTlet NLAuth,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51326835/

相关文章:

json - 如何使用 logstash 将压缩的 json 导入 elasticsearch?

c# - UWP C# - 如何使用 Windows.Data.Json 将 JsonObject 反序列化为一个类?

iphone - 如何在 iPhone 上从 URL 接收数据?

perl - 使用 perl(或 wget)仅下载新的/修改过的文件

javascript - 在保存复选框状态时选择复选框时将查询字符串附加到 url 的最佳方法?

java - 从具有单个/多个子项的 XML 进行 Json 转换

java - 反序列化 JSon String int List<Map<String, Object>> 的正确方法

python - POST 请求文件 python-requests

azure - 使用 fiddler/postman 进行 Azure 表存储 REST API

postman - 在请求级别禁用收集预请求脚本