How to test post request with httputil?
未关闭
- 主要语言
- JavaScript
- 星标
- 1.9k
- 派生
- 359
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
I would like to test my rest api using httputil, it work fine for get request, but for post and put with body request, what should i do? I read the source code, it just accept data in header, how can i pass my test data in body?
Any suggest will be appreciate.
Thanks,
Alice
贡献指南
这个仓库没有索引到贡献指南
调研方向
该 issue 提到了 httputil,但没有指出 repository 文件、测试或入口点。首先定位现有的 GET 请求测试指南,然后定义 POST 和 PUT 的预期 body 行为,再确定是否需要修改文档或代码。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, node.js
- 领域
- backend, testing-qa
- Issue 类型
- 文档
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 15/100