Questions tagged as 'api'

1
answer

ASP.NET MVC 5 refactoring method to consume api

I am at a crossroads, since I am developing a web app where I must consume an api by GET and POST, the logic of the service is solved, but I would like to refactor the code so that I do not have to repeat the same pieces in each request. I ha...
asked by 03.05.2018 / 18:40
0
answers

add bookmarks google maps MYSQL

Do not add the markers on the map, the following code: I clarify that the db has all the data <?php $consultaB = "SELECT * FROM markers "; if ($bus = $enlace->query($consultaB)) { /* obtener el array de objetos */...
asked by 27.04.2018 / 23:18
0
answers

ASP.NET MVC 5 consume data api by post

someone who can help with the following problem ...? I'm consuming data from an API using HttpClient but it returns the following    {"Object reference not set as instance of an object."} I have the following: The API response retur...
asked by 03.05.2018 / 21:25
1
answer

How to get the user logged in from an API in laravel?

There is something I do not quite understand in order to start designing my API in laravel. I wish that only users who are logged into the application are able to consume the resources of the API. I understand that I must send a token that id...
asked by 28.04.2018 / 07:40
1
answer

Search with array in mongodb with nodejs

I am creating a restFull api with nodejs and mongodb. I'm trying to do a query on mongodb and nodejs, but I do not get the form. I have the problem in looking over the array that arrives by parameter, I try to make the $ in on the array and it g...
asked by 21.04.2018 / 13:47
0
answers

Call an API Using ASP classic

I have an API that gives information about the NBA (scores, team name etc) and I have to make a call to this API to return the info and then I want to show that info on a page, but I must do it with asp classic and I'm a bit lost I have an idea...
asked by 19.04.2018 / 04:13
0
answers

open graph of facebook in angular 2 or 4

Greetings to all, I hope you can support me with this problem. what happens is that I am developing a webApp with angle 4 that is like a blog type where I show articles, those articles I need to share on facebook. the problem is that when you sh...
asked by 30.04.2018 / 20:22
0
answers

Auth - Api rest Wordpress

You will see I am studying how the wordpress application works but according to the documentation. To create, edit and delete a publication it is necessary to do an auth and give the following code in jQuery: $.ajax( { url: wpApiSettin...
asked by 28.04.2018 / 19:16
0
answers

Problem when passing my api rest from a localhost to a hosting

My problem is the following I want to upload my Api Rest for which I used Framework Slim 3 to a web hosting (hostinger). The problem is that in my localhost worked perfectly but now when I want to mount it in a hosting...
asked by 18.04.2018 / 17:15
0
answers

API WINDOWS C ++

I would like you to help me in the following peoblema: I have two applications, one is a web application and the other is a desktop application in windows and is programmed in delphi. The situation is that I want to transfer all the data from th...
asked by 14.04.2018 / 00:06