📌  相关文章
📜  域名不应是 localhost 或 127.0.0.1 instamojo - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:24.977000             🧑  作者: Mango

代码示例1
You can't use a local URL. This is because a webhook request is a POST request 
that is made from our server. Therefore, the only URLs that we can make these 
requests to would be URLs that are publicly available.

For testing purposes, I would recommend using RequestBin. You can create a new 
bin and paste the URL for that bin in the webhook URL field of your Instamojo 
link. This will give you a link that is accessible by our server and you can 
inspect the POST requests to this link by appending ?inspect at the end of the 
URL.

Or just replace 

'webhook' => 'https://test.instamojo.com/api/1.1/'