放大表格后行动-xhr发布数据

时间:2017-12-15 14:14:51

标签: asp-classic http-headers amp-html

abc.html amp form action-xhr post gonder.asp

gonder.asp> adSoyad = request.form(“adSoyad”)无效?

response.write(adSoyad)为空?

如何打印传入数据

截图 enter image description here

常规

[Route("[controller]")]
public class ErrorController : Controller
{
    [Route("")]
    [AllowAnonymous]
    public IActionResult Get()
    {
        return StatusCode(StatusCodes.Status500InternalServerError);
    }
}

响应标题

Request URL:https://www.example.com/gonder.asp?__amp_source_origin=https://www.example.com
Request Method:POST
Status Code:200 OK
Remote Address:94.73.170.127:443
Referrer Policy:no-referrer-when-downgrade

请求标题

    Access-Control-Allow-Credentials:true
Access-Control-Allow-Headers:Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token
Access-Control-Allow-Methods:GET,PUT,POST,DELETE,OPTIONS
Access-Control-Allow-Origin:*.ampproject.org
Amp-Access-Control-Allow-Source-Origin:https://www.example.com
AMP-Control-Expose-Headers:AMP-Access-Control-Allow-Source-Origin
AMP-Same-Origin:true
Cache-Control:no-cache
Content-Length:2
Content-Type:application/json; Charset=utf-8
Date:Fri, 15 Dec 2017 13:55:43 GMT
Server:Microsoft-IIS/8.5
X-Powered-By:ASP.NET
X-Powered-By-Plesk:PleskWin

查询字符串段落

Accept:application/json
Accept-Encoding:gzip, deflate, br
Accept-Language:tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7
AMP-Same-Origin:true
Connection:keep-alive
Content-Length:719
Content-Type:multipart/form-data; boundary=----WebKitFormBoundarycUwmQDZoBgyFKUhs
Cookie:_ga=GA1.2.1081942032.1513186181; _gid=GA1.2.450855249.1513323706; ASPSESSIONIDCWCTASTD=FHBEIINBPGAHAFGEDHNICLDL
Host:www.example.com
Origin:https://www.example.com
Referer:https://www.example.com/abc.html
User-Agent:Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1

请求有效负载

------ WebKitFormBoundarycUwmQDZoBgyFKUhs 内容处理:表格数据; NAME = “adSoyad”

0 个答案:

没有答案
相关问题