Skip to content

Instantly share code, notes, and snippets.

@sskylar
Last active August 29, 2015 14:18
Show Gist options
  • Save sskylar/cda32256ea832e48acb4 to your computer and use it in GitHub Desktop.
Save sskylar/cda32256ea832e48acb4 to your computer and use it in GitHub Desktop.
Ping Siteleaf API with cURL or Ruby Gem
require 'siteleaf'
Siteleaf.api_key = 'key'
Siteleaf.api_secret = 'secret'
Siteleaf::Client.get('ping')
curl --user key:secret https://api.siteleaf.com/v1/ping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment