卷曲-F这是什么意思? PHP的Instagram [英] curl -F what does it mean? php instagram

查看:154
本文介绍了卷曲-F这是什么意思? PHP的Instagram的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想弄清楚这是什么意思?我希望能够张贴东西的Instagram的API,但不知道什么卷曲-F手段?我试着在谷歌搜索,但它没有给我太多。也许有人此事可以照一些轻?

I'm trying to figure out what this means? I want to be able to post something to Instagram's API, but not sure what curl -F means? I tried searching it on google, but it's not giving me much. Maybe someone with this matter can shine some light?

此外,什么是张贴到Instagram的使用这种方法的最佳方式?该文档要求

Also, What is the best way to post to Instagram with this method? The documentation is asking

curl -F 'access_token=ACCESS-TOKEN' \
    https://api.instagram.com/v1/media/{media-id}/likes

有人可以解释这样对我?

Can someone explain this to me?

在此先感谢!

推荐答案

卷曲是模拟网络请求的Linux工具。发出卷曲-F 命令发出一个http请求表单提交的数据。在这种情况下,表单数据是数据 =的access_token ACCESS-TOKEN 键,它被发到网址 HTTPS://api.instagram。 COM / V1 /媒体/ {媒体ID} /喜欢

curl is a linux utility that simulates web requests. Issuing a curl -F command issues a http request with form submission data. In this case, the form data is the data access_token=ACCESS-TOKEN and it is being issued to the url https://api.instagram.com/v1/media/{media-id}/likes

什么是卷曲和它做什么可以在 HTTP中找到进一步的信息://卷曲。 haxx.se/docs/manpage.html

Further information on what cURL is and what it does can be found at http://curl.haxx.se/docs/manpage.html

这篇关于卷曲-F这是什么意思? PHP的Instagram的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆