Last active
June 20, 2016 19:01
-
-
Save Dispader/c27cb1905a79be2d2355af9e9608dcd2 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
BASE = 'http://api.icndb.com/jokes/random?' | |
new JsonSlurper().parseText("${BASE}qs".toURL().text).value.joke |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment