Questions tagged as 'rest'

0
answers

Android sending POST Json using JAX-RS receiving object with array null [closed]

I'm trying to post an object but the array only comes null .. can anyone tell me what's wrong? @XmlRootElement public class Produto implements Serializable{ private String nome; get e set... private List<Tipo> tipos; ge...
asked by 13.11.2015 / 01:27
1
answer

Spring and Jasper - Browser does not understand streaming for download

I have an application that uses jasper-reports version 6.2.0 with spring-mvc version 3.2.14, java-ee-7 , tomcat 8 and on the front end we use angularjs . The requests rest are made via ajax . Spring perfectly understands the object...
asked by 01.12.2015 / 18:25
0
answers

Delphi - OAuth Authentication 1.0 - WooCommerce Api Rest [closed]

Hello, I'm trying to do a 'POST' in the WooCommerce Rest API using Delphi. I've done several tests using a lib. which I downloaded on link but without success. So, since there is now the 'RestClient' palette, I have tried with 'TRestClient', '...
asked by 26.10.2015 / 15:00
1
answer

How to handle security in a REST application with Spring?

I'd like to know how I could handle the security of a stateless REST application with Spring. Imagine that no user can access any content of /app/content if you have not first identified. Is there any way to do this without also having...
asked by 08.10.2014 / 19:23
1
answer

How to send Lists with Retrofit 2.0 via POST

I have a list of records and need to send to the server via POST, use Retrofit 2.0 to make the requisitions. I get to make all the requests, but I'm not able to send the list. My interface: private interface SalesService{ @POST(API_BASE...
asked by 29.10.2015 / 17:43
0
answers

Jersey API Cache

I'm having second thoughts about the Jersey Cache control. Using QueryParam, does the browser / server risk performing the result cache? Or does this happen only when I work with PathParam within my GET method?     
asked by 14.11.2015 / 15:46
2
answers

Is there any API to create a similar Google Directory API service?

I find the Google Directory API very interesting to gather documentation and test environment in an easy, objective and well-organized way. I wonder if there are any similar plugins that can be added to a Java application to automatically gen...
asked by 07.08.2015 / 19:27
0
answers

Error retrieving object list (CSV) from web service

I'm having an error retrieving a list of CSV objects from the server. I'm using JSefa to serialize and deserialize Java Beans to CSV and implemented a MessageBodyWriter and Reader to do this conversion in the calls .. The detail is that I am...
asked by 06.09.2015 / 00:38
1
answer

How to map REST request response

I'm consuming a REST API with RestTemplate and it does not follow good practices, like using HTTP status codes, for example. Response to success: { "435": { "Codigo": "435", "Tipo": "", "Corretor": "62",...
asked by 10.11.2017 / 19:59
2
answers

Timeout when trying to access an HTTPS rest service via PHP

I'm trying to access a rest service that is on an HTTPS server via PHP and is returning timeout. If I take the URL and put it in the browser it opens. I'm using Httpful ( link ), I've already used other libraries and the same error occurs. Now w...
asked by 10.01.2017 / 15:23