alibaba / alibaba/anyproxy

怎样才能捕捉post请求参数?,另外就是post请求的requestData是一串<Buffer>,这个能解析成字符串或对象么?

Open
#420 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Plese fill the template when you reporting a new issue, thanks!

#### Which platform are you running AnyProxy

windows
#### The version of the AnyProxy

4.0.12

#### Your expected behavior of AnyProxy

requestData返回一个明文对象
#### The actual behavior of AnyProxy

返回了一个buffer
#### The log of the error

requestData:
我希望能解析成一个
{
"xxxx":"yyy",
}

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is named. Start by locating AnyProxy's POST request handling and the code that produces requestData, then compare the documented behavior with the reported Buffer output; done means the expected request parameters can be obtained in a defined form and are covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.