Skip to content

Instantly share code, notes, and snippets.

@yanniboi
Created September 19, 2016 22:59
Show Gist options
  • Save yanniboi/4606aa044b82525ec5f183552a8f1e4e to your computer and use it in GitHub Desktop.
Save yanniboi/4606aa044b82525ec5f183552a8f1e4e to your computer and use it in GitHub Desktop.
Statuscake create new test using API
#!/bin/bash
curl -H "API: [API KEY]" -H "Username: [USERNAME]" -d "WebsiteURL=google.com&WebsiteName=MySite&CheckRate=300" -X PUT https://www.statuscake.com/API/Tests/Update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment