Created
November 28, 2016 18:20
-
-
Save cianclarke/7cf06f4785953a76dff74250400f8a36 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$fh.cloud({ | |
"path": "/somePath", | |
"method": "POST|GET|PUT|DELETE", // optional - default GET | |
"contentType": "application/json", // optional - default shown | |
"data": { "username": "testuser"}, // optional - request body | |
"timeout": 60000 // optional - default shown | |
}, function(res) { | |
// Success - your response will be in the "res" variable | |
}, function(msg,err) { | |
// Failure | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment