Created
March 7, 2017 12:33
-
-
Save halvardos/7879563720c9a540b629c129c1730d84 to your computer and use it in GitHub Desktop.
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
function on_video_create(videoObject) { | |
// This will send a post request to your url whenever a new video is created | |
v1.http.POST({ | |
"url": "{REPLACE_WITH_YOUR_URL}", | |
"headers": { | |
"rawBody": videoObject | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment