I've tried several different ideas, and I'm out. While I've looked at the documentation and curl I haven't been able to really figure out what's going on. I have a file I'm looking to upload via api.
curl -s -L -v -X PUT --url http://api.bitbucket.org/2.0/snippets/{team}/{id}\ --header "authorization: Basic ${pass_hash}" -F title="test" -F is_private="true" -F "file=@bar.txt"
I can't seem to get the snippet file to update. I'm attempting to update now because continually creating failures seemed like a bad idea.