Questions tagged as 'rest'

3
answers

I need to upload an API Rest to a web server

I have a API Rest that I use locally and I need to upload it to a web server. The problem I have is that it will not be configured once it is uploaded to communicate with the server's SQL database. The error I get is this: XMLHttpReq...
asked by 07.06.2016 / 19:36
1
answer

Get object values Rest JavaScript

I make a request with Ajax to a web service and this one decuelve an object. $(document).ready(function () { $.ajax({ url: "https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=1min&a...
asked by 31.05.2018 / 10:05
2
answers

Consume Rest API in C #

I would like you to guide me a bit with this. I am trying to consume an API Rest in C # and have an authentication where I must pass these parameters or values: username , password , client_id , client_secret , grant_t...
asked by 03.04.2017 / 17:23
2
answers

control simultaneous calls to a REST service without duplicating the ID in JAVA

I'm doing a REST service through Spring and swagger with CMIS protocol. my service works well until the moment I make simultaneous calls through Jmeter to be able to stress the system. Context: the service obtains the ID from an ID creator to ge...
asked by 04.04.2018 / 15:39
1
answer

REST Jersey + jackson servlet parsea part of the json as a JsonObject

I am receiving a JSON that jersey + jackson parse it directly on the object that will contain the information. The thing is, I want part of that JSON to be saved as a JSONObject or JSONArray . This would be the JSON that is received, {...
asked by 16.10.2018 / 11:49
1
answer

PHP REST API - Operation

I have a question about how api rest work, I can not find how to send a request. I'm trying the shopify api and I have the following code: $baseUrl = 'https://xxxx:[email protected]/admin'; //Api URL removed for security reasons. $o...
asked by 31.08.2018 / 09:45
1
answer

Create client C # (ASP.NET) to consume web service RESTFUL

I'm in trouble some time ago, for the first time I have to implement a client in C # (ASP.NET) that consumes a service exposed by a web application to create clients. I have reviewed different codes on the web like: link link but...
asked by 09.03.2016 / 22:24
1
answer

RestFul JSON Service

I'm doing a restful service, it returns data like json but but inside an xml and I only want json . Annex image of how the result looks. and my code. I want to remove the highlighted in yellow. namespace WcfServiceWOM { [ServiceContrac...
asked by 17.05.2018 / 22:53
2
answers

Make a map of a REST Web API response

I'm trying to do a map of a response from a Web REST API . At the moment of doing .map on the object http.get the TypeScript returns this error:    The 'map' property does not exist in the 'Observable'.ts (2339) "type...
asked by 25.12.2018 / 19:12
2
answers

Get error returned by the server with Volley

I am making an application in which I consume an external service and for this, I am using the library Volley from Google. I'm trying to process the error with the structure: { "message": "invalid public_key", "error": "not_found", "status":...
asked by 16.10.2017 / 03:50