在Postman中使用“ https://api.sendgrid.com/v3/mail/send”时在响应正文中获取“权限被拒绝,凭据错误”

问题描述

我已按照URL中的步骤操作: https://sendgrid.com/blog/sendgrid-v3-api-postman-2/

在邮递员中添加了授权: Postman Screenshot

将发布请求的正文添加为:

{
"errors": [
        {
            "message": "Permission denied,wrong credentials","field": null,"help": null
        }
    ]
}

但是得到的响应是:

Vue.component(
    'Dashboard',require('./components/dashboard/Index.vue').default
);
console.log(window.location);
const router = new VueRouter({
    mode: "history",base: window.location.pathname,});

var myVueInstance = new Vue({
    router
}).$mount('#app');

请求的标头: Postman Header Screenshot

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)