Created
April 16, 2019 20:59
-
-
Save ilaif/c277b21b139d31d1ededd4f85ce81515 to your computer and use it in GitHub Desktop.
instrument-everything-blog-fetch-existing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_all_custom_vcls(service_id, version): | |
url = 'https://api.fastly.com/service/{}/version/{}/vcl'.format(service_id, version) | |
response = requests.request('GET', url, headers={...}) | |
return response.json() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment