python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to extract JSON fields from an api
I have an api which returns data in the below format when i use the clientbuilder get():
final Response response = ClientBuilder.newClient().target("url").queryParam("CustomerQuery"...
Achu
Votes: 0
Answers: 2
Disable hostname verification on org.jboss.resteasy.client.ClientRequest;
I am trying to invoke a rest service by using the abovementioned client. How can i disable hostname verification ?
StudentOfTheGame
Votes: 0
Answers: 1
Implementing a CXF JAX-RS client with JSON request
I am trying to develop a client where i will perform a POST operation and pass a json in the service request.
Checking CXF's official documentation i found the code snippet below:
Client client = Clie...
StudentOfTheGame
Votes: 0
Answers: 0
How to return custom response on javax.json.bind.JsonbException (Helidon project)
I'm trying to return a custom http response(400 bad request) instead of http 500 server error when json payload is not valid.
The problem is that when I use javax.json.bind.JsonbException as exception...
niragoy506
Votes: 0
Answers: 1