Questions tagged as 'endpoint'

1
answer

Return Object JSON in Java

I have a layer repository in my application Java that has a method to return all the authors: public Stream<Author> getAllAuthors() { return StreamSupport.stream(authorRepository.findAll().spliterator(), true); } A...
asked by 27.07.2018 / 17:08
1
answer

Consume API Node services

Dear, I have a microservice (a) or a small API that requires you to use the services of another API (b), which consists of about 4 ENDPOINT (Address, municipality, province, region, etc). I am currently using a NODE module called request: c...
asked by 23.08.2018 / 18:38
0
answers

How to add an Interceptor to Google Cloud Endpoints

I need to add an interceptor to execute tasks under the main thread while serving requests on all endpoints. How can I add this extra layer without damaging the stability of those already established by the google framework.     
asked by 04.06.2018 / 10:43
1
answer

Return any Json in an endpoint

I have an endpoint in gae, but I need to be able to return a String that contains a json, without creating a POJO, but I have not found a way to do it, this is one of my endpoinds: @ApiMethod(name = "get", httpMethod = "POST", path = "/get...
asked by 17.01.2018 / 22:37
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
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
1
answer

Error: Duplicate entry when creating the apk

I have this error in Android Studio when I try to generate the apk    Error: Execution failed for task ': app: transformClassesWithJarMergingForDebug'.   com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplica...
asked by 31.05.2017 / 06:43