I'm trying to POST a JSON object to an API:
What's the best way to post this JSON to an API, e.g. http://www.example.com/api?
How should I create a function that will take an input file name
(video.mov) and output a JSON object as well as POST it to an API?