Top "Httpbuilder" questions

HTTPBuilder is a wrapper for Apache's HttpClient, with some (actually, a lot of) Groovy syntactical sugar thrown on top.

How can I check for a key in json, which I am getting as an output from RESTful api

I have a confusion here with respect to RESTful api. Code: import groovyx.net.http.HTTPBuilder import static groovyx.net.…

json groovy httpbuilder
HTTPBuilder set request contenttype

I am using the following code to execute a HTTP POST towards an external system. The problem is that the …

json grails groovy httpbuilder
HTTPBuilder query parameters

I am trying to understand the Simplified GET of HTTP Builder. I succeeded with simple GET request similar to a …

groovy httpbuilder
HTTP authentication in Groovy?

def http = new HTTPBuilder(url) http.auth.basic username, password def data = new URL(url) def response = data.getText() def …

authentication groovy httpbuilder
POST with HTTPBuilder -> NullPointerException?

I'm trying to make a simple HTTP POST request, and I have no idea why the following is failing. I …

grails post groovy httpbuilder
Response from a POST request in Groovy RESTClient is missing data

I am using groovy RESTClient 0.6 to make a POST request. I expect an XML payload in the response. I have …

groovy httpbuilder
Get Plain HTML from HTTP Requests

I'm working on a grails app and for several hours already have been trying to get html code from a …

groovy httprequest grails-2.0 httpbuilder
How to set up a GET-Response in Groovy using HTTPBuilder

I have several issues stored in my YouTrack Server and I would like to extract those issues and pack the …

html json groovy server httpbuilder
How to install and use httpbuilder plugin in grails

How to install and use httpbuilder plugin in Grails?

grails groovy httpbuilder
How to construct an HTTP post with Groovy HTTPBuilder RESTClient

The post example from the docs does not function with http-builder 1.7.1. def msg = "I'm using HTTPBuilder's RESTClient on ${new Date()}" …

groovy httpbuilder