grails-http-builder-helper
grails-http-builder-helper copied to clipboard
The REST plugin enables the usage of HTTPBuilder on a Grails application.
I have a Grails 3.3.6 app that uses singleton controller and service classes. When trying to use withHttp() in my service class I get: `Caused by: groovy.lang.MissingMethodException: No signature of...
Allows the use of this as a parameter on dynamic methods using to the underlying http-builder support for it. Essentially it alternatively registers a scheme using the ignoreSSLIssues() function on...
Java 8: IDE: IntelliJ IDEA I have problem with SSL issue ``` @Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.1') import groovyx.net.http.RESTClient def client = new RESTClient() client.ignoreSSLIssues() def result = client.get([uri: "https://sacvo76l6b.execute-api.ap-northeast-1.amazonaws.com/"]) ``` It...
http://stackoverflow.com/questions/41337467/handshake-failure-from-grails-app/41344735 I can not establish proper ssl connection probably because SNI is not properly handled (outdated apache client). How can I solve it? Have you found any working fork of...
hi.. i am trying to upgrade my project from grails 2.1.1 to grails 3.0.9 in grails 3.0.9 : i install this plugin like this.. `compile 'org.grails.plugins:http-builder-helper:1.0.0'` and i run it......
Service class: ``` class GeoCoderService { def getLatLong(String address) { def result = null withHttp(uri: "http://maps.googleapis.com") { def html = get(path : '/maps/api/geocode/json', query : [address:address]) if ( html.results !=...
I had few issues making the plugin work for grails 3.0.8. The build.gradle settings that made it work for me are... repositories { maven { url "http://dl.bintray.com/bobbywarner/grails-plugins" } } dependencies...