Questions tagged as 'restful'

1
answer

JSON-RPC or RESTFULL?

Between developing an API using JSON-RPC or REST (RESTFULL), I would like to know in which cases there are advantages / disadvantages in using one or the other. OBS: It can be through knowledge / experience or reference sources.     
asked by 08.06.2015 / 16:36
1
answer

The remote server returned an error: (400) Incorrect request

I have created two methods, one for authentication via certificate type A1 and A3 and another to send an xml, both of which make the request in a client apiect. In the authentication method, I send the data from my certificate to the client a...
asked by 27.04.2018 / 15:45
1
answer

Controller exists but Lumen says it does not exist

My routes are like this. link < - this is the url I'm requesting $app->group(['prefix' => 'api/v1'], function($app) { $app->get('/', 'CommunitiesController@index'); } Mycontrollerislikethis<?phpnamespaceApp\Models\Contro...
asked by 02.09.2017 / 02:59
1
answer

JSONP breaks in the colon (":")

The server sends a JSON, normal. Here is the code: @GET @Path("email") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) public String getEmail(){ ViewStatisticsEmail statisticsEmail = new ViewStatisticsEmail();...
asked by 12.09.2016 / 15:52
1
answer

What tools / frameworks are available to create a restful API in PHP? [closed]

Is there any tool of this type that facilitates the development of a RESTful API? I've heard of the Slim Framework, but wanted to know more tools. ----- edited To be more specific, I want to make a RESTful API to grab data from a MySQL DB and...
asked by 17.07.2015 / 18:33
1
answer

Prevent undue access in the RESTful API

I'm developing a RESTful API with Laravel PHP that will be consumed by an Android application, the API is consumed only by the application, there is no web system. I am learning RESTful, and during the learning I was left with a doubt. I get...
asked by 21.05.2015 / 10:03
1
answer

Put RESTful WS project in production

I'm a beginner in Java and these .jar, .war, etc businesses are new to me. I made my first RESTful Webservice project and added 2 * .jars, Gson and JDBC.postgres. I want to put it into production (on a server that will be Tomcat ) to use it...
asked by 02.10.2014 / 13:28
0
answers

Framework for documentation for java REST API

Hello, I have a project in java, with APIs in REST. I wanted to create a wiki with documentation (markdown + swagger) on the APIs locally, also including a way to test the API (API console / explorer). These are APIs with IDP (OAUTH) authenti...
asked by 24.05.2018 / 16:50
0
answers

How to consume doing client-side addressing of an API that I want to consume?

I have an API in PHP and I'm developing a Mobile App with Delphi Firemonkey, and I need to consume the JSON data that my API returns. I would like to know how I do the addressing on the client side to access this API, since I'm using (for tes...
asked by 03.04.2017 / 13:44
0
answers

Spring Security Oauth2 in API Rest

Good morning. I have a Web Service Rest implemented and I am working on the security of the same one at the moment. This Web Service was implemented using Spring Boot. Initially I will have clients as an Android Application and a Web Appli...
asked by 21.11.2016 / 14:58