为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:做了个API,但是访问总是被拦截,虽然白名单可以暂时解决,但是好像加了白名单之后可以sql注入,可不可以只关掉Transfer-Encoding过滤规则?
POST /api/register.php HTTP/1.1
transfer-encoding: chunked
connection: keep-alive
cache-control: no-cache
accept: */*
content-type: application/json
host: jerry.ates.top
accept-encoding: gzip
user-agent: Apifox/1.0.0 (https://apifox.com)
x-forwarded-for: 21.0.0.1:34286
via: Apifox/1.0.0
{
"username": "your_username",
"email": "your_email@example.com",
"password": "your_password"
}
|
|