Repository navigation
1.3.1
New Features
HttpHaiku perform one-shot requests
You just need to perform one request in your program and don't want to bother instantiating a HttpPoet?
Then HttpHaiku is what you need
Get an url
def todos = HttpHaiku.get("$API_URL/todos", [author: 'someone@gmail.com'])Post data
HttpHaiku.post("$API_URL/todos", contentType: ContentType.JSON, body: newPost)TokenAuthInterceptor
A util interceptor to auto-generate tokens