Questions tagged as 'rest'

1
answer

What is an API Rest for front and backend communication? [duplicate]

I could not understand what an API Rest is for front and backend communication     
asked by 19.04.2017 / 05:24
1
answer

How to return request status code Java RestEasy

It is very intuitive to do a return of the API with an object or something, but would like to return an object along with the status code of the request. @Override @GET @Path("/{num}/{cod}") public Foo getFoo(@PathParam("num") long numFoo, @Pa...
asked by 21.02.2017 / 13:47
1
answer

Error Spring MVC Rest Full

Good evening, I'm trying to compile a code to run a simple rest in spring mvc, but I encountered the error "The request sent by the client was syntactically incorrect." Class Controller package br.com.aprendendorest.controllers; import...
asked by 07.03.2017 / 01:43
2
answers

Separate or not the backend frontend? [closed]

I have a question that has not yet been clarified, in the development with php, the ideal is to separate the backend from the frontend, using Rest and consequently web services, or in the traditional way, running everything on the server?     
asked by 09.01.2017 / 18:24
1
answer

Serialization LocalDateTime

I'm trying to serialize an object that has a date with the LocalDateTime class using Spring Boot, but the following error: 2016-10-09 18:28:26.218 WARN 17395 --- [ XNIO-2 task-2] .w.s.m.s.DefaultHandlerExceptionResolver : Failed to read HTTP m...
asked by 10.10.2016 / 11:07
1
answer

Validate registry data (spring-boot + angularjs)

Hello, I'm implementing a web project in spring boot + data + angularjs. Where the client makes rest requests to the server. On the Spring side I'm using repositories to develop the database search with CrudRepository. @RepositoryRestResour...
asked by 15.08.2016 / 13:39
1
answer

Is there any way to keep the user logged in to a webapp

I would like to know if it is possible to keep a logged in user with webapp using webview.  If so, which one would be the correct way.     
asked by 12.09.2016 / 22:14
1
answer

Consuming REST windows forms

I'm trying to consume a JSON REST, I'm developing a module for a legacy Windows Forms system, it's not working, it does not return anything. Follow the code: var client = new RestClient("https://selador.homologacao.portalseloam.com.br/auth"...
asked by 08.08.2016 / 16:16
1
answer

Doubt with webservice method put and delete. How to implement in java?

What do I have to implement to make a Webservice available that supports PUT or DELETE. I'm new to this webservice world if you could help me by sending me at least one link from where I can read something about.     
asked by 13.07.2016 / 19:23
1
answer

News API as service [closed]

I would like to display random news from Brazil and the world in my app while the user is processing a request. Does anyone know of any service / API that can provide me with a Json for handling?     
asked by 27.05.2016 / 16:05