Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shrawan2015/f06820ca9cb2dda490b5a5c7f5a82a35 to your computer and use it in GitHub Desktop.
Save shrawan2015/f06820ca9cb2dda490b5a5c7f5a82a35 to your computer and use it in GitHub Desktop.
import requests
import json
url = 'https://circleci.com/api/v1.1/project/github/VForgeLabs/CameraEatsFirstIos/tree/qa?circle-token=DFSDFSFDF'
payload = {"build_parameters": { "MANUAL_BUILD": "TRUE"}}
headers = {'content-type': 'application/json'}
r = requests.post(url, data=json.dumps(payload), headers=headers)
print (r.json())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment