gpt4 book ai didi

http - 二郎 HTTP : How do you include Body in an Inets or Ibrowse request?

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:20:38 25 4
gpt4 key购买 nike

我目前正在使用 Inets 处理以下请求:

http:request(put, {Url, [{"User-Agent", UA}, {"Content-type", 
"application/json"}]}, Bodytext, []),

但是请求失败。

有什么建议吗?

最佳答案

ibrowse:start().

ibrowse:send_req(Url, Headers, put, Body).

ibrowse:send_req(Url, Headers, put, Body, Options).

关于http - 二郎 HTTP : How do you include Body in an Inets or Ibrowse request?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3103260/

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