Questions tagged [restclientbuilder]
12 questions
8
votes
2 answers
How to have dynamic base URL with Quarkus MicroProfile Rest Client?
Quarkus using Rest Client, explains how to use the MicroProfile REST Client. For Base URL application.properties can be used.
org.acme.restclient.CountriesService/mp-rest/url=https://restcountries.eu/rest #
With above approach, cant have dynamic…

Tushar
- 263
- 3
- 11
2
votes
0 answers
Is it possible for Grails RestClientBuilder plugin to trust self-signed certificates for https connections?
In local development, where I have an API server running at https://localhost:8443 that uses a self signed certificate, I am (expectedly) greeted with the following error when trying to connect to it from my other grails app that uses…

Peter
- 29,498
- 21
- 89
- 122
1
vote
1 answer
How to init " AWSPricing client " by AWSPricingClientBuilder the latest version sdk?
My task is to get aws procuct pricing data, so I do the things as follows:
set the Environment Variables(AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY)
fill the pom.xml(in Eclipse) with the code:
com.amazonaws
…

604320137
- 11
- 2
1
vote
0 answers
ResponseExceptionMapper in cxf using Client (javax.ws.rs.client.Client) API
This post does not resolve the issue: ResponseExceptionMapper in cxf client . You will notice that I did in fact register and annotate my Provider, and I tried with WebApplicationException as suggested instead of Exception/CustomException.
Problem…

Sanjeev R
- 43
- 6
1
vote
1 answer
Rest Builder Client post request with header issue grails
I am trying post request with rest client builder.
We have following code
RestBuilder rest = new RestBuilder()
rest = rest.post("https://api..com/ff/one"){
header 'x-pushbots-appid', '550de488b4569'
header 'x-pushbots-secret', 'e6717aea77d'
…

Vish
- 867
- 6
- 19
- 45
1
vote
1 answer
Grails 'grails-rest-client-builder' plugin with PATCH request method
I'm using grails2.4.4 and grails-rest-client-builder: 2.0.0 plugin. I need to invoke a REST URL which accepts request method, PATCH. But i'm not able to do with this plugin:
I'm using below code:
def rest = new RestBuilder()
def resp =…

kaluva
- 621
- 8
- 27
0
votes
0 answers
Rest Client Builder 2.1.1 DELETE() keeps returning 400 Error while postman tests are working well
I use Grails 2.4.5 and Rest Client Builder 2.1.1 to call an external webservice in my service. Need to signin, signout and validate tokens etc. I followed the doc in this link. the signin() which need a post() and the validate() with needs a post…

Evan Sun
- 1
- 1
0
votes
0 answers
Elasticsearch Load balancer url using Java API
We are using Java Rest high-level client to call elasticsearch nodes.
Now we have added a load balancer and enabled SSL. We are not able to access the load balancer URL with Rest client. It throws an error and not able to find any solution like how…

User1203
- 77
- 2
- 11
0
votes
2 answers
Spring external client timeout
In our Spring Application we rely on an external system.
We want to set a timeout on the requests to that system, but can't figure out how to configure this.
We use this:
return clientBuilder.build()
.target(baseUrl)
…

Stefan
- 2,098
- 2
- 18
- 29
0
votes
3 answers
Invoking a rest api client
I have created a rest api in eclipse as a maven project.
MobileAnalyticsModel class for rest api is
package org.subhayya.amazonws.mobileanalytics;
import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public…

Subhayya A S
- 3
- 5
0
votes
0 answers
You currently already have a version of the plugin installed [rest-client-builder-2.1.1]. Do you want to downgrade to [rest-client-builder-1.0.3]?
I am using Grails 2.3.11 and I and I am using the Rest Client Builder plugin in order to consume a restful web service but everytime I run a grails command I get the following message in the console
You currently already have a version of the plugin…

Viriato
- 2,981
- 7
- 40
- 54
-1
votes
1 answer
Grails RestBuilder dont findendPoint with Object in signature
I have a code with a RestBuilder that needs to connect to another application, the target endPoint have an object in the signature with the attributes. The problem is the request return 404. How I solve this? I tried use x-www-form-urlencoded…

João G. Hartmann
- 3
- 3