curl -F what does it mean? php instagram

api, curl, instagram, php, post

Solution

`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`

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

Problem

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? 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? Thanks in advance!

Original source