Skip to content

1.3.1

Choose a tag to compare

@tambapps tambapps released this 13 Sep 18:17
· 62 commits to main since this release

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