Questions tagged as 'api'

1
answer

Use api with credentials to login from my website

Good morning, how can I do a login.php from my website to send users to an external portal through an api. The requirements is to send an xml or json with the following structure: <Login> <APIUsername></APIUsername> <...
asked by 28.06.2017 / 17:20
1
answer

Google_Service_Exception error 401 "Login Required" in Api google calendar

I would like your help for an error I have when creating an event for the google calendar from php , the error is as follows:    {"error": {"errors": [{"domain": "global", "reason": "required",   "message": "Login Required", "locationType"...
asked by 26.05.2017 / 23:02
2
answers

Vue API client does not respond to the JSON request

I am making a request to API with Vue to adapt it with Rail , but when I print the data on the screen it sends me empty, this is the connection to API : main.js: var urlAPI = 'xxxxxxxxxx'; new Vue({ el...
asked by 22.05.2017 / 19:19
1
answer

IONIC 2 Text innerhtml

I am putting together an APP with the REST API V2 of Wordpress and IONIC, the intention is to show the latest news from a website. The problem that I have, that although it seems simple I can not solve it, is that by showing the excerpt of the J...
asked by 22.05.2017 / 18:08
0
answers

Webpack Dev Proxy server does not redirect to my api backend

I'm trying to redirect the routes " link " to " link " where an Apache server runs. This is my webpack dev server configuration: devServer: { publicPath: '/build/', port: 3000, proxy: { '/api': { target: 'h...
asked by 05.05.2017 / 20:19
1
answer

Error: Duplicate entry when creating the apk

I have this error in Android Studio when I try to generate the apk    Error: Execution failed for task ': app: transformClassesWithJarMergingForDebug'.   com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplica...
asked by 31.05.2017 / 06:43
1
answer

As I fixed the number of installments in a payment with the api de mercadopago in php

I'm doing a checkout very basic, and I want to make it clear that you can only pay in 1 installment, how do I do that? I think it's from the preferences, but I do not know how. So I have the preferences now: $preference_data = array( "item...
asked by 18.05.2017 / 00:47
0
answers

Recover plugins installed by REST API

What I want is to make a system where I can monitor all the pages I manage. These pages are set with Wordpress, and I know that it has an API to manage content like post and others, but what I want is to list all the plugins that are installed o...
asked by 12.04.2017 / 01:56
2
answers

How to configure frontend routes with AngularJS and an ExpressJS server?

Good morning, I am currently setting up a SPA application, where I want to manage all the routes with AngularJS and that the Express routes are only for API, the problem I have is that if I configure the Angular routes for example: http://l...
asked by 18.04.2017 / 18:38
1
answer

Microsoft Project Oxford (Face API) - Add a Person Face

I am new to C # and also on this site. I am testing the Microsoft API called Face API , however, I can not do the following program in C #, which is in the following web page . I created the group, and I have also created three people,...
asked by 03.04.2017 / 20:54