如何使用邮递员

How to use Postman

我正在使用此 CURL 行进行测试:

curl -H "X-Auth-Token: U2FsdGVkX1/AT1TyraJ0as+h6nu0hW4fvl" -X PUT -d "{\"$set\":{\"product\":\"Product New Name\" ,\"quantity\":90}}" http://localhost:3000/api/RDiHJAbxpjFqeA9aC

我想使用 Postman。如何从 Postman 实现相同的功能?

正在等待关闭问题: https://github.com/postmanlabs/postman-app-support/issues/1831

邮递员的错误。

请使用 4.4.3 以上版本解决您的问题。这个错误是可以控制的。 4.4.0 - 4.4.3 22

添加了对 --url 作为 cURL 参数的支持

我建议使用 Swagger 而不是 postman.Because Swagger 是最流行的框架之一 API'S.If 你想要我 post 你的示例代码如何在你的 api.

中加入 swagger