我正在 Chrome 开发人员工具中查看对 Inmagic TextWorks 系统的 POST 请求的详细信息。如果我深入研究 POST,我会看到:
Form Dataview sourceview URL encoded
status:
mode:sort
currentPage:1
querySql:[PROCESSED]c:5f:2:61:58:-62:7:3 [bunch of stuff like this]
我在 querySql 中查看什么?我的第一个想法是它是十六进制,但它包含负数——当我通过十六进制到 asci 转换器运行它时,我得到了废话。我的第二个想法是它是 URL 编码——但它不包含和百分比。很明显,这是某种编码的 SQL——但是像这样的 SQL 是如何编码的呢?它是什么?我怎么知道它是什么意思?
最佳答案
根据 InMagic support ,
When a user clicks on the 'submit query' button in a search form the browser gathers up the information in the search boxes and sends it to the server where WebPublisher can take the information submitted from a form and conduct a search. This information is grouped in name / value pairs and then encoded for transmission over the network.
如果你继续阅读,你会看到:
This "Canned" query is constructed using the GET method to submit information to the CGI script. A standard Query to WebPublisher uses the POST method.
我相信您看到的是这个“固定”查询或键/值匹配的一部分。
关于html - 我向 InMagic Textworks 系统发布的类似十六进制的内容是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21541886/