Questions tagged as 'rest'

1
answer

Relationships JPA Spring Boot Rest Fetch Eager

I have an application that serves a rest service json (not quite a rest, but okay). The application uses Spring Boot to run, I use the PagingAndSortingRepository. The problem is that when serving an entity with Many to One relationship: @En...
asked by 19.05.2016 / 20:41
1
answer

What techniques can be used to authenticate to REST applications? [closed]

I'm developing a Restful application with PHP , I need to make an authentication mechanic on that system so that client applications can consume their data. What techniques can be used to authenticate to Restful ?     
asked by 25.05.2016 / 17:18
1
answer

Help between communication between clients WEBSERVICE REST - JSON - JAVA

I'm developing an Android application where devices can communicate with each other through messaging (instant messaging). My application is already connecting to the Web Service (I developed it using NetBeans) and the Web service connecting...
asked by 22.02.2016 / 14:36
1
answer

Save access token

I am designing a simple login architecture and am in doubt of where to save the user access token. The system will be developed in SPA using AngularJS and the server will be a REST API not yet defined. When the user logs on to the system, he...
asked by 06.02.2016 / 21:47
1
answer

Vraptor Authentication + AngularJs

I am trying to authenticate users on my system, however I am somewhat lost. How do I return the user logged in from the server pro front-end ? Currently I can check if the user exists in my database as follows: @Post @Path(value = "/a...
asked by 29.09.2015 / 15:33
1
answer

Execute function in ng-blur AngularJs

I'm trying to set up a project where a customer registers for access to the system, this registration can only be done if the client's CPF exists in the database. I have two tables, Usuário and Beneficiário(Cliente) . The REST...
asked by 17.09.2015 / 21:57
1
answer

Format date in Angular for Java.util.Date

I have the following date generated in AngularJS: 2015-09-14T18:38:03.637Z when I try to give a POST the following error occurs in the backend:    Caused by: java.text.ParseException: Unparseable date:   "2015-09-14T18: 38: 03.637Z" at...
asked by 14.09.2015 / 20:50
1
answer

API for viewing places on the map

I need an API that works like HERE Maps, which makes it easy to query through a REST service. With it I can for example identify stores within a certain range. But I came across the problem that it does not provide this information when for exam...
asked by 16.05.2015 / 23:06
1
answer

ParseJson in Swift - login function

I have a method that does the verification of login and password using REST , but after reading I need to return a Bool value to validate if the login was done. I do not know if I'm doing it the best way, anyway the problem is th...
asked by 15.04.2015 / 04:11
1
answer

Hash in a GET service

I have a service where I make a GET request that does a search in the groups of my application, the problem is that the user created a group called #nome-do-grupo , and when it will do the search by name and it puts the hash, error search...
asked by 24.04.2015 / 16:59