Skip to content

Instantly share code, notes, and snippets.

@erickythierry
Created April 23, 2021 02:53
Show Gist options
  • Save erickythierry/aad00c960eaca1a2488aaa20a1d009ae to your computer and use it in GitHub Desktop.
Save erickythierry/aad00c960eaca1a2488aaa20a1d009ae to your computer and use it in GitHub Desktop.
so um exemplo pessoal
import requests, json
url = 'http://url/2webp'
with open("video5.mp4", "rb") as file:
envia = requests.post(url, files = {"file": file})
resposta = json.loads(envia.text)
print(resposta)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment