Postcatlab / Postcatlab/postcat
入参选择上传二进制文件时,node层服务报错,导致请求失败
- Dominant language
- JavaScript
- Stars
- 5.5k
- Forks
- 796
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
使用`postcat网页版`,测试上传功能接口时,入参通过选择以`二进制 Binary` 的方式,上传了一张图片后,点击发送按钮后,显示测试服务连接失败

通过拉取代码,在本地跑postcat代码和node服务后,重复上述操作,发现node层出现报错信息
```bash
cd src/browser
npm-run-all -p start:testServer start:zh
```

在官网体验地址中[https://postcat.com/](https://postcat.com//) 发现该功能同样无法正常请求,希望能早日修复,谢谢~
### Environment
- Postcat Version [0.5.1]
- OS [Windows 10]
Contributor guide
Research direction
Reproduce the failure in src/browser using `npm-run-all -p start:testServer start:zh`, then inspect the Node service output while sending an image through the Binary upload input. Compare this with a working request and use the reported error shown in the issue screenshots to locate the upload path. Done means binary image requests complete successfully in both the local service and the Postcat web experience.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100