Last active
August 29, 2015 14:18
-
-
Save sskylar/cda32256ea832e48acb4 to your computer and use it in GitHub Desktop.
Ping Siteleaf API with cURL or Ruby Gem
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
require 'siteleaf' | |
Siteleaf.api_key = 'key' | |
Siteleaf.api_secret = 'secret' | |
Siteleaf::Client.get('ping') |
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
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