I am trying to construct a curl request that will allow me to automate the task of attaching a binary to a release in GitHub (so dragging a file into the box)
From the api docs i can see that we need to obtain the id of the release (which i have already obtained from a prior call)
https://developer.github.com/v3/repos/releases/#upload-a-release-asset
At the moment i get
curl --header {"Content-Type": "application/zip"} --data \'{"name": "path_to_zip_file"} "https://api.github.com/repos/owner/my_repo/releases/:id/assets?access_token=acces_token"
I get a response like with a lot of other
Hello future GitHubber! I bet you're here to remove those nasty inline styles, DRY up these templates and make 'em nice and re-usable, right?`
<p><strong>We didn't receive a proper request from your browser.</strong></p>
Can anyone offer any advice
Thanks