Java写一个请求

查看 17|回复 0
作者:uuwatch   
请求头参数如下:
OPTIONS
https://api.itouchtv.cn/newsservice/v13/newscontent?fromSource=share&sid=43d09086ede55d29490ee1889feec3cc
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Access-Control-Request-Headers: x-itouchtv-app-version,x-itouchtv-ca-key,x-itouchtv-ca-signature,x-itouchtv-ca-timestamp,x-itouchtv-client,x-itouchtv-device-id
Access-Control-Request-Method: GET
Cache-Control: no-cache
Connection: keep-alive
Host: api.itouchtv.cn
Origin: https://m.itouchtv.cn
Pragma: no-cache
Referer: https://m.itouchtv.cn/article/43d09086ede55d29490ee1889feec3cc
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
fromSource=share&sid=43d09086ede55d29490ee1889feec3cc
要求,Java写的把jar包也带上,响应没有内容的,测试成功才会结贴比如这样
[i]
1
[i]
[i]
[i]

才会, 宋体

您需要登录后才可以回帖 登录 | 立即注册

返回顶部