Questions tagged as 'rest'

0
answers

Problem with the routes that I include in the index of my REST API

Hi, I am developing a API with slim framework 3 that connects to a base de datos local. The problem is the following within my index.php I pass the rutas where are the queries to the database. The problem is th...
asked by 26.01.2018 / 12:49
1
answer

Error consuming JSON. RESTful Angular app.js

I have the following project, quite simple, that consumes the following JSON object obtained from a local web service. {"nombre":"Miguel","id":1,"profesion":"Desarrollador"} My app.js is like this: $(document).ready(function(){ $.ajax...
asked by 03.01.2018 / 14:06
0
answers

WebService REST integration to WEB project

Good afternoon! My problem is this: when trying to integrate a webService into a WEB application, it throws the following error: 12-Oct-2017 13:59:01.214 SEVERE [http-nio-8080-exec-6] org.apache.catalina.core.StandardWrapperValve....
asked by 12.10.2017 / 22:34
0
answers

React + Redux + REST [closed]

I present my doubt: I have to do a REST API for external clients. I need to have 3 different applications, 1 for internal use, 1 for external use and the API, which will be connected (apart from external clients) to the other 2 application...
asked by 26.09.2017 / 09:39
2
answers

Consume rest service

I am trying to consume a rest service but at the moment of doing it, it sends me an error. I leave below the code I am occupying. import http.client metadatos = {a:1, b:2, c:3} conn = http.client.HTTPConnection("10.133.xxx.xxx")...
asked by 13.09.2017 / 18:35
1
answer

Create a web API First

I have created a web, separating the server from the web itself, now I am in a dilemma, if I have a Apache with the php offered by the API and another with the web that consumes the API. But these two Apache have to be on a single PC. Are...
asked by 28.07.2017 / 17:01
0
answers

Error in REst response in java, object is not displayed as Json array

When it shows the result in Json of several records of the Rest that I have developed if it shows it as an array (with a bracket that encloses all the elements): {"tb_tipo_producto_1":[{"c_t_tipo_producto":"ACCESORIO PARA COCINA","n_i_cant_pro...
asked by 17.08.2017 / 17:09
1
answer

How to execute a very heavy process exposed as REST from wildfly?

I have a process that processes an input file, uses 100% of the processor (uses the 16 cores), and 8 GB of RAM. I currently run it directly from the console. But I need to call this process from a REST service. The service must be asynchronous,...
asked by 05.06.2017 / 03:05
1
answer

Implement Security Filter API REST - CORS - Spring Framework 4.1

I am trying to implement security by URL to my REST API, I MEANT THAT PETITIONS FROM A SPECIFIC DOMAIN CAN ONLY BE CARRIED OUT, the solutions I find online tell me to use @CrossOrigin but the project in which I am working has the SPringFrameWork...
asked by 24.05.2017 / 01:00
1
answer

NodeJS-Express res.json and res.render

I am doing a mobile client for my application in NodeJS but I do not have much experience doing a REST Web Service, and I am trying to return a JSON in my application to receive it in the Android APP, but I only return a single file type, HTML o...
asked by 13.03.2017 / 21:44