使用POST时,Woocommerce rest API错误无法创建资源

时间:2018-06-05 08:51:53

标签: angular ionic-framework woocommerce postman

我正在使用基本的auth 1.0。图像附在此处。网址与GET方法一起正常工作,但在POST时给出了以下错误。

 {    
"code": "woocommerce_rest_cannot_create",
"message": "Sorry, you are not allowed to create resources.",
"data": {
    "status": 401
}

}

1 个答案:

答案 0 :(得分:0)

它在http中出现问题,但在SSL中可以正常工作。