Questions tagged as 'rest'

1
answer

How to configure Web API with multiple Get

I need to provide in my web api three forms of query: First Get with all records "GetAll", the second GET by the id and a third GET with filtering options, sent by the client eg Name contains the letter " the "and address contains the word" brid...
asked by 15.07.2016 / 19:55
1
answer

Page layout controlled by javascript using REST for dynamic content

I was thinking of a different pattern for developing my application via browser. As this is an ERP, I need a quick interface that does not need to download the HTML from the server at all times to print the user's screen layout. The solution wou...
asked by 08.07.2014 / 18:44
1
answer

How to return the image converted to base64 in Postman [closed]

I have Web Service REST Server , I need to traffic a web service image to the client, when the client requests a certain image, the web service converts to base64 and sends it to the client. I'd like to know what I'm doing to tes...
asked by 14.10.2016 / 18:38
1
answer

Secure REST Authentication in PHP

I am wondering how to work with system authentication using restful. In my case there will be user / password and permissions / hierarchies for the user, and until then as the most interesting solution found in searches was the work with token,...
asked by 20.03.2015 / 13:00
1
answer

Is this a good way to keep my API safe?

My application consists of a nodejs API in the backend but I'm also creating the Referencing implementation of a JavaScript client, which is a SPA in done with Backbone. First, the API only accepts HTTPS requests, in case an HTTP HT...
asked by 09.12.2014 / 00:56
1
answer

REST Fundamental Principles

In this Infoq article , the author highlights the five fundamental tenets of REST: Give all things an Identifier Link things (resources / identifier) Use standardized methods Features with multiple representations Communicate wit...
asked by 23.09.2015 / 03:17
1
answer

How to work with associative table with additional attributes in REST?

Imagine that you have 3 entities: Student, Discipline and Student Discipline. The AlunoDisciplina entity, in addition to relating Aluno to Disciplina , also includes other information, such as the student's final grade. So...
asked by 25.02.2015 / 20:53
1
answer

How to avoid misuse of a REST API?

I'm developing an application that is made up of three parts: Backend (BD + API), developed with Symfony 2 + Doctrine 2 iOS Client Android client Most client requests to the API must be authenticated through a token that is obtained t...
asked by 06.01.2015 / 12:05
1
answer

How to extract LinkedIn data with python?

Everyone, good? So I need to extract some information for a research I do at university and I need to extract some data from LinkedIn pages, I was extracting with python using regular expressions, but to extract some things it was very difficult...
asked by 24.09.2015 / 00:26
2
answers

Consuming Moodle Web Service

I'm trying to consume the moodle webservice, following a js / rest example that I found in github, I created a test.php with the code below (changing the domainname and token), but when I call the page I do not receive anything in the variable r...
asked by 14.05.2015 / 18:45