How to resolve the 403 error when send POST request from Postman

Posted Researcher

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How to resolve the 403 error when send POST request from Postman相关的知识,希望对你有一定的参考价值。

Root cause: the site refused the connection from the http request origin, by default it is setted as below:

Origin: chrome-extension://aicmkgpgakddgnaphhhpliifpcfhicfo

Solution 1: use Postman desktop version instead of chrome extention/plugin

Soluiton 2: use Restlet Client chrome extention/plugin

Solution 3: override the default value as same domain value instead of chrome-extension:XXX

and then  also remember to set the Body format as raw/Text or any other value, but must hava value, this is required.

 

Solution 4: must keep fidller openning, set the filter as below:

以上是关于How to resolve the 403 error when send POST request from Postman的主要内容,如果未能解决你的问题,请参考以下文章

How to resolve unassigned shards in Elasticsearch——写得非常好

How to resolve emulator cannot be launched issue by command line

How to resolve CSRF protection error while adding service through Ambari api

how spring resolves a request

Permission to *** denied to ***.. The requested URL returned error: 403

How to Pronounce the Months of the Year