Questions tagged as 'rest'

1
answer

REST JAX-RS error handler does not capture errors

I currently have a REST service with JAX-RS in tomcat. Now I want the typical errors of 400,405,500 error, etc to be returned in JSON format and not HTML as it does in normal. Then I've been basing myself on link to create an error handler....
asked by 12.12.2018 / 11:06
1
answer

How to consume a Toi Rest of Tookan?

good afternoon, I'm a bit new in the API's Rest, I need to consume the following api: link , reading the documentation for what I understood is to perform POST methods, I do not know how to do it to consume it through GET, I use a console appli...
asked by 14.12.2018 / 00:28
1
answer

API REST java persistence onetomany

Hello friends, I'm going back to consult you again, and from now on I thank those who will take the time to respond and help me. Well I'm new in all this java, I tell you that I'm trying to generate a api rest with two related tables, I'm occupy...
asked by 09.12.2018 / 20:31
0
answers

Show jquery data in html

The truth gives me a bit of embarrassment ... because I have no idea I'm just curious and I follow tutorials ... hehehehe The thing is that I consume data from a third-party API, and I want to paint the data in an HTML ... but it does not sho...
asked by 01.12.2018 / 17:25
0
answers

Angular 6 - Does not update parent class field in daughter class view

I try to make an api RESTfull with Angular 6 and Java, which must perform the CRUD operations, until now everything seems to work correctly, except to edit and insert in Employee and Auto. The model is composed of 3 tables, Branch, Employee a...
asked by 22.11.2018 / 21:40
0
answers

org.springframework.beans.factory.UnsatisfiedDependencyException

My question is this error occurs when I run "run as" java application. I can not find the solution to this exception. pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http...
asked by 11.11.2018 / 04:21
1
answer

Why do I change the order of the JSON with JAXB?

I am developing an API Rest with Jersey and I am using JAXB and with the annotation @XmlRootElement @XmlRootElement public class Car { private int idCar; private String model; private String color; public Car() { }...
asked by 08.11.2018 / 22:50
1
answer

How do I go through a response from json in c #?

I have a REST API that sends the following answer in json format and I want to go through it in order to add a listview to what I go through. { "resultado": "OK", "datos": [ { "Pago": "1500.00", "Fecha": "2018-09-27" }, { "Pago": "900.00...
asked by 30.10.2018 / 16:47
0
answers

Someone who has experience consuming Payment gateway Service of Master card

Someone who has experienced Master Payment card gateway service could help me with this error } My settings are as follows / possible values: // FALSE = disable verification // TRUE = enable verification $ configArray ["certific...
asked by 27.10.2018 / 23:02
1
answer

Because the rest (json) output does not show the object list

I'm doing a little program to practice spring boot I have these two entities package com.sistema.escuela.models; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List;...
asked by 26.10.2018 / 02:06