2016-10-11 30 views
0

我使用紐曼工具在命令行上運行我的郵遞員測試。獲取和發佈方法似乎工作正常,但刪除方法不是刪除資源,但狀態200確定。請參閱屏幕截圖。在Postman gui工具上它工作正常。刪除方法不工作在紐曼(郵遞員工具命令行)

200 OK status code returned through command line but the it does not delete the resource actually

+0

請屏蔽服務器/主機名稱的詳細信息。 – notionquest

+0

@notionquest - 蒙面吧!謝謝! – bodhi

回答

0

我複製從鉻網絡工具捲曲,同時執行DELETE使用郵差Chrome用戶端,發現它使用郵遞員令牌請求頭。在Newman中添加Postman Token到刪除操作的頭部,並且工作正常。