Questions tagged as 'restful'

1
answer

What is the relationship between OAuth and Rest?

Good evening. I would like to use the API of a particular website (Market Paid to be specific) to build an application. Studying a little of their documentation I have seen that their API is Rest based and use OAuth, although I know that this...
asked by 18.03.2016 / 05:23
1
answer

URL pattern in RESTful service

I'm developing a service that will provide some functions for external access, using REST architecture. It is the beginning of a RestAPI for the company. But let's get into the problem. I need to update some punctual data for a particular produc...
asked by 19.04.2016 / 15:05
1
answer

Consume REST API in Node.js + cURL

I know there are several packages in Node to consume REST API but I need some packages that use cURL . For some reason (which I did not discover) I can not authenticate with existing ones. I've tried link and link .   ...
asked by 11.11.2015 / 10:27
2
answers

Web Service Restful Authentication with PHP

Hello, I'm developing a Restful api, but I wonder if it's safe to authenticate users by passing the token in the url? And if there is any other more secure method.     
asked by 18.11.2014 / 02:23
1
answer

Entity attribute based on a field in another table - Hibernate

I have a microservice raised using Spring, RestFul and Hibernate. I would like to know how I can modify an attribute of this json microservice, based on a condition, obtained through a query to the bank. Below, a piece of code from my Enti...
asked by 28.11.2018 / 17:18
1
answer

Client REST process response in JSON without knowing domain objects

I'm doing a RESTFull server with Spring MVC, the controller only returns JSON, until then blz, would my client know nothing of the domain classes and still process the requests? I was thinking of turning JSON into an object as if it were a da...
asked by 31.01.2014 / 01:25
1
answer

Error - to create query for method public abstract org.springframework.data.domain.Page

I've been line by line to know what's different between an object that worked and what's going wrong and I can not find the problem. This Student object is giving error. If I comment on get sobe normal. Code error: org.springframework.beans...
asked by 27.09.2018 / 00:07
1
answer

RestController Spring, how to limit the number of requests! [closed]

Dear friends, I have an API Rest with RestController of Spring, it receives hundreds of concurrent posts, and with each post, I need to query and store data in the database. The problem is that this is generating an absurd processing on...
asked by 08.12.2017 / 06:04
1
answer

Catch parts of a JSON vector

I am in doubt on the GET function of my JS code (React JS), I have the GET function using the Fetch api, it returns the values a certain link.json containing an array. Using this example link: link - I want to get the contents of the first 'Id...
asked by 05.11.2017 / 18:22
1
answer

Questions Spring Boot Web App - Android

A few weeks ago I finished the project of a web system that does basic cruds, I used Java, Maven, Spring Boot, Hibernate, Bootstrap + Thymeleaf pro frontend, etc ... And I deployed to Heroku using the bank of PostgreSQL Data Now I'm starting...
asked by 21.08.2017 / 20:22