Skip to content

Instantly share code, notes, and snippets.

@ilaif
Created April 16, 2019 20:59
Show Gist options
  • Save ilaif/c277b21b139d31d1ededd4f85ce81515 to your computer and use it in GitHub Desktop.
Save ilaif/c277b21b139d31d1ededd4f85ce81515 to your computer and use it in GitHub Desktop.
instrument-everything-blog-fetch-existing
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