Postman的使用方法

Postman是开发人员测试接口非常好用的工具,下面就和大家介绍它的具体使用方法。

f385f29959430401b8cebff4d66b04d14829058b.jpg?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1%2Fformat%2Cf_jpg%2Fquality%2Cq_80

方式/步骤

  1. 1

    进入Postman,输入请求的地址。

    f59dbe39131fceec39e9c8c379c4ec9958430b8b.jpg?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1%2Fformat%2Cf_jpg%2Fquality%2Cq_80
  2. 2

    在左侧选择请求的体例。

    125ed0ecd3d969751ef44d2fd243040149fe098b.jpg?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1%2Fformat%2Cf_jpg%2Fquality%2Cq_80
  3. 3

    设置请求所需的参数。

    a1780d1fceecd3d982455372679959430501088b.jpg?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1%2Fformat%2Cf_jpg%2Fquality%2Cq_80
  4. 4

    然后设置装备摆设好请求头。

    cfadcdd96975f2c401a9f8f58f0148fe1f42068b.jpg?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1%2Fformat%2Cf_jpg%2Fquality%2Cq_80
  5. 5

    接着点击Send发送请求。

    d2987775f2c4ec99b773a5b7c3fe1e425c6b078b.jpg?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1%2Fformat%2Cf_jpg%2Fquality%2Cq_80
  6. 6

    即可在底部的Body中看到请求返回的成果。

    6834ecc4ec995943eb31e94895425d6b05d1048b.jpg?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1%2Fformat%2Cf_jpg%2Fquality%2Cq_80END

注重事项

  • 参数和请求头必然要设置装备摆设准确。
  • 发表于 2021-03-29 21:03
  • 阅读 ( 391 )
  • 分类:其他类型

相关问题

0 条评论

请先 登录 后评论