首页 文章
  • 0 votes
     answers
     views

    如何在JSON中使用curl发布变量

    我需要使用JSON格式将变量发布到网站API . 经过一些研究并使用测试后服务器,我想出了这个字符串: curl -H "Content-Type: application/json" -X POST -d '{"id":"value"}' http://posttestserver.com/post.php Successfully ...

热门问题