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.

Revisions

  1. wethinkagile created this gist Feb 22, 2021.
    6 changes: 6 additions & 0 deletions quay-example-request.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/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)