gpt4 book ai didi

http - 通过 POST PuTTY 发送文件

转载 作者:可可西里 更新时间:2023-11-01 16:23:20 26 4
gpt4 key购买 nike

我已经找到了以下内容: Sending a file via POST using raw HTTP (Putty)

但是,当我发送请求时,Putty 搞砸了该死的空行。不管我做什么putty 总是在我的空行 中输入ENTER,所以它会在我完成输入之前发送请求:

POST /somepath/ http/1.0
Content-Type: application/x-www-form-urlencoded
Content-Lenght:15

hhhteaj=555555

问题是我的发布请求必须是空行,否则语法不正确。我能做什么?

最佳答案

事实是你拼错了:

Content-Lenght:15

导致问题?应该是:

Content-Length:15

关于http - 通过 POST PuTTY 发送文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13483558/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com