广州大彩串口屏论坛_大彩开发者交流论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1297|回复: 3

POST/GET how to catch raw server response

[复制链接]

19

主题

52

帖子

261

积分

中级会员

Rank: 3Rank: 3

积分
261
发表于 2023-9-17 02:00:19 | 显示全部楼层 |阅读模式
本帖最后由 terefere 于 2023-9-17 02:15 编辑

Have you idea how to send some data to server, but get whole raw respond- for example start's from string "HTTP/1.1 200 OK"?. I need to see data like server time, application, etc.
I see at debuger port that server give back code 200- so they get something.

(sorry, this forum not like if I write word with server so I upload picture)




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12541
发表于 2023-9-18 16:33:30 | 显示全部楼层
The completion information in the debugger is not available to lua, so it can only obtain the data returned by the service area, and cannot obtain other parameters returned by the server
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

19

主题

52

帖子

261

积分

中级会员

Rank: 3Rank: 3

积分
261
 楼主| 发表于 2023-11-21 05:25:54 | 显示全部楼层
本帖最后由 terefere 于 2023-11-21 05:30 编辑

Debbuger give me this data, have u some descryption for this?. Ok. i cannot write httpS, but response is still empty even if I have connection (status code 308)


BTW, I need to send to server about 800 integer, each with own name. I suppose that can be problem with lenght. Is some restriction, or maybe I need to change some cheap size?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12541
发表于 2023-11-21 09:14:33 | 显示全部楼层
First of all, you need to confirm whether the link of the http request on the screen is valid, you can print the link out, copy the link on the debugger and then use the browser to visit
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|广州大彩串口屏论坛_大彩开发者交流论坛

GMT+8, 2024-4-29 07:20 , Processed in 0.043126 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表