Questions tagged as 'rest'

1
answer

problem with listing payment orders pagseguro recurring subscription

I'm having a problem fetching the received data from the pagseguro payment order. I am doing the query he is bringing me the results but I can not get what he has inside paymentOrders for the simple fact that he brings me a code wi...
asked by 03.05.2018 / 19:31
1
answer

WebService Jersey REST Not Found

I have the following problem: when I run my jersey server and type the url mapped in web.xml the following error appears. MyPOM.XML<projectxmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
asked by 16.12.2017 / 21:42
1
answer

Share Web API access token in different domains

Hello. I'm having a hard time sharing a bearer with different domains. This happens because I have to make a login page outside the domain of the site that consumes the REST API. This site maintains the token in the localStorage, which is not...
asked by 10.10.2017 / 14:17
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

What to do when the generated token expires?

I'm developing a rest API with Framework Asp.Net Web Api 2 , using Owin . I have a android application as the client. In case, my system has users and passwords and authenticates normally. I want to know what to do whe...
asked by 01.02.2017 / 18:30
0
answers

Using Paypal REST with Classic ASP

I'm trying to make a simple call to the Paypal API with the following code: On error resume next Set objHTTP = CreateObject("Microsoft.XMLHTTP") objHTTP.open "POST", "https://api.sandbox.paypal.com/v1/oauth2/token", False objHTTP.setRequestH...
asked by 19.07.2016 / 22:33
0
answers

Field Data Returning Undefined

I'm trying to capture a value from a component using angularjs 1.X, but from the class I just created a date field is not being filled the same returns undefined. Follow my controller: angular.module('app').controller('agendacontroller'...
asked by 24.11.2016 / 22:28
1
answer

Avoid reply delay message

I'm developing an application that consumes, via REST, a third-party service. In some cases the service takes a long time to respond to me and, as the application is waiting for a response, a message appears giving the user the option to wait or...
asked by 02.12.2015 / 08:31
1
answer

Customizing Json consumption - Web API

I have the following information in Json: [ { "$id": "1", "Cditemcontacli": 1.0, "Cdcontacli": 1.0, "Descricao": "Produto 1" }, { "$id": "2", "Cditemcontacli": 2.0, "Cdcontacli": 2.0, "Descricao": "Produto...
asked by 22.09.2015 / 20:27
0
answers

REST application in Ophenshift

I created a REST application by netbeans, and now I want to upload it to OpenShift. I'm using eclipselink to do data persistence, so I use a AbstractFacade<T> class to do the basic CRUD, as follows: public abstract class Abstra...
asked by 20.05.2015 / 03:47