Questions tagged as 'rest'

1
answer

Events on itunes

Is it possible to do that when someone makes the payment of a subscription to my app through itunes this can connect to an endpoint and send me the information of the purchase in a Json by body as do the webhooks of stripe ? I have researched an...
asked by 03.01.2018 / 18:26
1
answer

Spring Boot + Jetty + TLS1.2 (HTTPS)

Good morning everyone, I have an application running on site with Spring Boot and Jetty. The problem comes when I try to add TLS1.2 to my project to support HTTPS. I work perfectly with http but now I want the services to be published in http...
asked by 21.12.2017 / 09:43
1
answer

Stripe and google endpoints

I have a webhook in Stripe that connects to an endpoint sending a Json in the body, however I'm not sure how to get that json using the google endpoints, since I understand that only manages pojos, I'm trying with the following: import com.goo...
asked by 03.01.2018 / 01:21
1
answer

Download file from REST

Good afternoon, I hope you are having a good day and you can help me with the following problem .... I have the following resource: @RequestMapping(value = "/dowload", method = RequestMethod.GET,produces = { MediaType.APPLICATION_OCTET_STRE...
asked by 23.12.2017 / 20:34
0
answers

Api Rest Client in Java

I am building a REST client according to the example link and I have two errors that I could not correct My Code: public void ClienteApiRest() { javax.ws.rs.client.Client client = ClientBuilder.newClient(); WebTarget targ...
asked by 28.11.2017 / 22:28
2
answers

Delete v1 in endpoint url

I am using GAE to generate Servlets and everything works perfectly, however, the route of the endpoints always adds a "v1" which I want to remove, this is an example of how the route is:    link and I want it to be as follows:    li...
asked by 14.12.2017 / 18:17
0
answers

org.apache.jasper.JasperException: Unable to compile the class for JSP:

I am trying to create an API Rest to return a json from SQL Server to deploy in a JBoss 6.0.0 (it has to be this one) in NetBeans; I created it by generating some entities from the DB and sessions on them, applying two java classes to config...
asked by 07.11.2017 / 12:58
0
answers

Return image in a json

I have the second class, the image is saved in the bbdd in the photo variable: public class Personas{ private String name; private Date date; private Blob foto; My question is if I create a rest service and if this will return the pho...
asked by 11.10.2017 / 11:17
0
answers

Can a web service rest in a soap be converted?

Good morning the reason for my question is more informative is whether you can perform the conversion of a web service rest to a soap, since I have read several information on indicates that you can perform this procedure from soap to rest throu...
asked by 09.10.2017 / 16:57
0
answers

Error 403 in Angular 4.3 Interceptor calls twice

I am consuming a service made with Java, which needs to be sent a jwt, previously generated by a login. For this I created an interceptor in Angular 4.3 vt-auth.interceptor.ts import { Injectable } from '@angular/core'; import { Ht...
asked by 28.09.2017 / 20:08