For the complete documentation index, see llms.txt. This page is also available as Markdown.

响应示例

查看 网页解锁器 的响应示例,其中包含请求头、Cookie 和 HTML 内容,以了解预期的输出格式。

下面是一个响应代码示例。启用详细模式以查看标头和 Cookie。

HTTP/1.1 200 OK
X-Job-Id: 1234567890123456
X-Session-Id: 123randomString
cf-cache-status: DYNAMIC
cf-ray: 55c2ab837eddcba8-VIE
content-encoding: gzip
content-length: 72657
content-type: text/html
date: Tue, 1 Jan 2020 00:00:01 GMT,expect-ct: max-age=604800,report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
last-modified: Tue, 1 Dec 2020 00:00:00 GMT
server: cloudflare
status: 200
strict-transport-security: max-age=31536000
X-DNS-Prefetch-Control: off
Set-Cookie: NID=1234567890; expires=Wed, 29-Jul-2020 10:56:21 GMT
Set-Cookie: 1P_JAR=0987654321; expires=Wed, 29-Jul-2020 10:56:21 GMT
x-cache: MISS from localhost
x-cache-lookup: MISS from localhost:3129

<html>此处内容</html>

在处理您的请求时,网页解锁器还可能包含 X-Oxylabs-Final-Url 响应头,它表示跟随所有重定向后的最终 URL。

示例:

响应头:

这有帮助吗?