Questions tagged as 'rest'

1
answer

Save entity rest using @oneToMany

I have the following entities generated by jHipster using java with oneToMany relationship: Product @Entity @Table(name = "produto") public class Produto implements Serializable { private static final long serialVersionUID = 1L; @Id @Ge...
asked by 16.06.2016 / 16:20
1
answer

Exception handler return in JSON

I am building a RestAPI using Laravel / Lumen , in tests it can happen that the return is entirely in HTML, this occurs when that already famous screen appears: Whoops looks like something went wrong This is very difficult to test the re...
asked by 24.01.2017 / 00:50
1
answer

Return image by Web Service REST Server

I have Web Service REST running, this web service makes the query in ERP when the client requests the request of a certain data, needed to return the image that the client made the request and display in the browser. I made the f...
asked by 13.10.2016 / 19:43
2
answers

graph with data from a REST service

I have a REST service done in PHP and it returns me data in JSON . When consuming the API url in REST, I need to display the data in graphs made in javascript. Does anyone know of any framework in JS that generates graphs of a...
asked by 13.05.2016 / 15:47
1
answer

PayPal Integration SandBox does not work!

Hello, good morning can someone help me with a problem I'm having in the integration Rest Restore SDI from PayPal. I put the code below, it seems to run perfectly, however when I go in "Transactions" in the paypal sandbox there is no transacti...
asked by 30.11.2015 / 05:20
1
answer

How to get a POST parameter in REST application

I started a Rest application and I have a createPost java class POST @Path("/post/") @Produces(MediaType.APPLICATION_JSON) public static String createPost(@FormParam("loopID") String loopID) throws IOException { Conn...
asked by 27.01.2015 / 21:46
1
answer

How to make a CRUD via REST

Introduction I need to access a web service in PHP via mobile application. I've seen a lot of videos and read many tutorials about Delphi's REST Client. I was even able to develop a prototype of my application. Problem But the pr...
asked by 05.05.2014 / 00:57
0
answers

Learning problem with SpringBoot

Hello, I'm starting my study in SpringBoot, where I arrived in a part that I could not solve due to an exception, where I already saw in several topics how to solve, and none worked for me. I created two Person and Cell entities and did th...
asked by 27.12.2018 / 03:38
1
answer

When and where to handle exceptions with Laravel in the development of an API

I have some questions when it comes to handling errors in an API. Should we always handle an exception? Would it be correct to return a message like the one below? Return: { "success" : false, "error" : { "message" : "<msg...
asked by 13.08.2018 / 16:37
1
answer

Cordova API Offline

I have a question, I've done some research, but I do not find anything concrete and I do not know if what I want to do is possible. So I would like to know if you can help me? I'm putting together an app that will consume a Rest API for produ...
asked by 27.03.2018 / 03:38