Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def send_post(age, gender, img_url)
- cloud_url = 'https://us-central1-cs-2xb3.cloudfunctions.net/function-2'
- file = {'age': age, 'gender' : gender, 'url': img_url}
- requests.post(cloud_url, files=file)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement