HttpRunner(6):模拟发送POST请求
POST请求
发送POST请求可通过发送的数据选择 json/data/body/ 添加数据
# 发送POST请求 - config: name: 用户标签管理 base_url: https://api.weixin.qq.com - test: name: 创建用户标签 request: url: /cgi-bin/tags/create method: POST params: access_token: 49_lke8tpYCU4h5JhQtM5vHyT-7l4MBgmetqyUAczzD0z1kpZGjtmQNdEahThSG5458ET3ytgrXtfZmz4PzuQWqLUkAR8_kqI-jpPusfixbFj_2KWXzJIBlrI_Ay9zt-o3427UxRYR3xdKryeR8CZZaAGAPMM json: {"tag":{"name":"河南abc"}} validate: - eq: [status_code,200]