Questions tagged as 'api'

1
answer

How do I connect with Axios to the Woocommerce or Wordpress API?

I'm with vuejs and axios trying to connect to the woocommerce api, but I can not find a way to send my credentials correctly (the keys), or I do not know if I have to specify the connection method ... I do not know how to indicate it in axios....
asked by 24.06.2017 / 12:07
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
0
answers

Laravel Passport login api

When I try to log in with a user created from my API control, it does not allow me, however, if I try to login with a user created from my website, I have no problem. To create the user I am using $input['password'] = bcrypt($request->passw...
asked by 29.07.2018 / 06:01
1
answer

Because Delphi shows me this error: Undeclared identifier: 'DecimalSeparator'

I'm using Delphi Berlin 10.1.2, I just started a new project using the superobject library: link This library serves to interpret API responses function FloatToJson(const value: Double): SOString; var p: PSOChar; begin Result := Float...
asked by 21.05.2017 / 19:27
0
answers

Use Passport-facebook in a rest API in NodeJS? [closed]

I have an application made in express , until now I used the same server to show HTML and so on. This application has a Facebook login and it works. I need to know how to implement the Facebook login in a API to be used from a client a...
asked by 19.05.2017 / 14:49
1
answer

Someone knows some [closed] stock exchange API

I am looking for a stock exchange API to consume resources for an android application that I have to do for an end-of-course project. I found the one from Yahoo YQL. But I would like to know if you know any other.     
asked by 31.03.2017 / 08:53
1
answer

I receive Malformed access_token: null in API MercadoPago

This is the code I am using (made from example provided on the web of mercadopago ): require_once ( 'mercadopago.php'); $mp = new MP('xxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxxxxxxxxxx'); $params = array( "dimensions" => "30x30x30,500", "z...
asked by 31.03.2017 / 18:29
0
answers

how can I traverse the object of an external api with angular js

Hi, I am working with an api with the angular service http and I get the api endpoint, url = api / v2 / {endpoint} but I can not go through the object that contains this url since to access each element I have to access a api / v2 / {endpoint} /...
asked by 05.08.2017 / 07:14
0
answers

Android send photos to a server

surely there are many post of these for several places, I have read several and I have looked for several examples. Not being an expert on Android there are some things that I can not understand, so I do this POST, because the weird thing is tha...
asked by 18.03.2017 / 23:14
1
answer

Make url with api rest php

I have two tables: cars and garages. I want to do the following: url/coches/xxx/garaje where xxx is the ID of the cars. The problem is that I do not know what to put in the .htaccess and where to put the rest to appear. I already...
asked by 15.03.2017 / 21:08