Skip to content

Instantly share code, notes, and snippets.

@wethinkagile
Created February 22, 2021 08:35
Show Gist options
  • Save wethinkagile/b6e4f6f8ccfbd53e4a205cf2142c02ee to your computer and use it in GitHub Desktop.
Save wethinkagile/b6e4f6f8ccfbd53e4a205cf2142c02ee to your computer and use it in GitHub Desktop.
Quay Basic Sample Request
#!/usr/bin/python
import requests
r = requests.post('https://quay.dev/test_org/test_repo:v1', headers={'content-type': 'application/json', 'Authorization': 'Bearer LLDDBIYHDQSVE0IKOEN329QUDQRX96FDIZK20MP3X2PH7TVOMCXDKNXBYS0TQPASZXCCHU2R5AMZQ3OIMYN11QAEWHCGETVRF3BDOEZFJBA7WSGGTFVTVT43'}, data={'test':'value'}, verify=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment