Most voted "api" questions
API stands for Application Programming Interface. The program’s API defines the correct way for a developer to request services from that program. Use this tag to ask about API across the board. Always prefer more specific tags, such as win-api, file-api, web-api, google-api, google-maps-api-3. There is no need to use this tag in conjunction with a more specific one. This would bring confusion and work as a metatag
Learn more…1,192 questions
Sort by count of
-
0
votes1
answer529
viewsAngularjs Service http
I have a service at the angle and wanted to do a foreach to recover the user value, to authenticate the login My service: .service('usuariosService', function ($rootScope, $location,$http) {…
-
0
votes1
answer91
viewsLog into site using Satellizer.js
I need to make an application where the user can login through facebook and Soundcloud, and I found this https://github.com/sahat/satellizer to do this, and according to this page…
-
0
votes1
answer36
viewsDoubt in consultation of domains
Speaks guys, I need information granted through whois, various domains, which can end in . com, . br, . net, etc. With our provider br the nicbr no problem, I’m already using their rdap that returns…
-
0
votes1
answer2876
viewsInstagram API get information about a particular post
Is it possible to access the media (of course public) without having the authorization of the user responsible for it? The idea is to know the number of likes and comments of a particular post via…
-
0
votes1
answer102
viewsWhat are the options for Rest?
Presently the Rest architecture has become a standard for building API’s and Webservices. But what about beyond Rest? What more there is aimed at building API’s?
-
0
votes1
answer173
viewsHow can I send information to Paypal API PHP
Well what I intend to do is to do the following, first, how can I send information to Paypal, through my PHP file of purchase value. That is, the buyer selects the number of items and then click on…
-
0
votes1
answer254
viewsIs it possible to analyze Instagram data (BI) via API?
You can use the instagram API for BI analytics, such as the number of likes, followers, times that posts have had more interactions, and Etc? I will need to review over 100 accounts with…
-
0
votes1
answer114
viewsInteractive quiz with users on Livestream Youtube
I have some ideas about creating an application in php or even in another language, where the application responds to chat interactions of a livestream on youtube, for example. A question displays…
-
0
votes1
answer648
viewsTrace destination from address or zip code using Google Maps API
Does anyone know how to make a map like this http://yuejermano.com/#location/ceremony where the person enters the address or the zip code and he traces the route to the intended destination? I…
-
0
votes1
answer1041
viewsNotification API does not return data
I’m having a problem with the Pagseguro Notification API, it’s not returning the XML in no way am I testing in HTTP, for in HTTPS also did not work. Someone knows how to fix this? Code: <?php…
-
0
votes1
answer955
viewsHow to organize the REST API and website frontend?
I am creating a Single Page Application site, for this, I created a Restful API on Node.js that does all the actions in the database, login, sending emails and etc. I thought of creating a "public"…
-
0
votes0
answers53
viewsI cannot manipulate data coming from the Web Service (Json)
I’m trying to get the result of a request for an API (json), and send it to another function that will record to localstorage, I even got it with the product value, but with the name that is string…
-
0
votes1
answer110
viewsGetwindowtext in C#
How can I use the Getwindowtext function in c# ? Need to convert this function into Delphi for c# function FindWindowExt(partialTitle: string): HWND; var hWndTemp: hWnd; iLenText: Integer;…
-
0
votes3
answers630
viewsProblem accessing api using jQuery $.ajax
I’m having trouble accessing the api using the function $.ajax({}) jQuery. The Error: My code: <!DOCTYPE html> <html> <head> <script…
-
0
votes1
answer161
viewsInclude data in Json beyond what comes via Mysql
I am building an API in PHP/Mysql that will feed a hybrid APP, also under construction, via Ionic. Data transit is via Json. I guess I’m new to Ionic, Angular, JS, and Json... Reasonable in PHP and…
-
0
votes1
answer41
viewsHow do I disable a function when and old android API
I have the function View.OnScrollChangeListener which has been deployed to API 23 only. In the previous API example of Kitkat API 19. This function does not work. Like I do in my code oncreate when…
-
0
votes2
answers56
viewsHow do you consume custom routes with Ember?
My Rails api has the user/me route that returns the current user data, written like this: #routes resources :usuarios do get :mim, on: :collection end #controller def mim render json: usuario_atual…
-
0
votes4
answers275
viewsAPI project with many layers
I’m studying about API. I saw a design pattern with these layers: I found the layers Appservices and Domainservices unnecessary. For me the ideal would be to create only one layer of Services where…
-
0
votes1
answer163
viewsXamarin - Accessing API that returns JSON
Next, I am VERY new to this API issue. I created my first web application . net Framework 4.5.2. I created it very standard (according to VS 2015), and created a controller for testing…
-
0
votes1
answer117
viewsPass javascript value to php post
I’m having trouble picking up my location and moving on to the php post with onload. How can I do that ? The values I’m trying to capture are the lat and long google. function initMap() { var map =…
-
0
votes1
answer715
viewsI need to put a link in my Google Maps
I have a map on my site, where the location of the property on the map has the logo, in place of the standard Google Maps PIN, a PNG image appears. I need this image, when clicking, to take to a…
-
0
votes0
answers94
viewsGeolocation function: http vs https
I’m making an application that should identify the user’s location and through an API call (https://openweathermap.org/api), inform the weather conditions of the place. To know the location, use the…
-
0
votes1
answer66
viewsHow to open an Infobox by clicking on the BING MAPS marker
Guys, I had to swap the google map for Bing’s, and now I can’t make clicking the marker open an infobox. The event is called, and it arrow the settings but simply does not appear... When I add a…
-
0
votes0
answers248
viewsHow to Install API REST?
Is it good practice to use our API’s? ex: (http://localhost/api/v1/Resources) If so, what best practice is there for you? I’m using Apache server with Silex PHP micro framework, could I create a…
-
0
votes0
answers15
viewsManagerengine xml problem
Hello, <operation name="GET_REQUESTS"> <result> <status>Failed</status> <message>POST_ONLY_URL</message> <error_code>4001</error_code> </result>…
-
0
votes0
answers785
viewsRest API in PHP - how to work with routes terminated in . json?
I am creating a Restful web service in PHP. I am not using any framework. I am following the recommendations of standards or best practices for developing web Apis, suggested by the White House. On…
-
0
votes1
answer121
viewsUndefined index: stream
I am studying php and can not understand the reason for this error. It executes the code as it should until a certain part. Basically I’m trying to use a database where users will insert Twitch…
-
0
votes0
answers78
viewsMonitor changes in the value of a JSON attribute of a URL
I would like to know the most cost/benefit way to monitor changes in the value of an attribute returned by a JSON format URL. I mean, I have the URL of an API that returns something like: {"high":…
-
0
votes0
answers70
viewsWeb Api Calls 2
Well, I have a somewhat boring task that is the handling of Cookies, I make a request by sending as parameter a code that I want to access, my API opens the page with Webdriver, maps and takes the…
-
0
votes1
answer1209
viewsAdd repeated parameter to Delphi’s Delphi component
Good afternoon. I am developing a class in Delphi, using the Boleto Cloud API. The class is now ready and functional, issuing billets and generating shipment. This class consists of the REST Delphi…
-
0
votes1
answer301
viewsLogin with Facebook - I can’t login to the app itself with the Facebook account
I have a website, where I included login for users, using the facebook API. Everyone can login normally, but my Administrator login of the application I created for login does not enter, IE, only…
-
0
votes1
answer43
viewsGoogleapiclient inside recycleViewAdapter?
The app has a fragment with a recyclerview and a FAB. By clicking on FAB, opens a dialog where the user informs addresses, among other information. Address input fields are of the…
-
0
votes1
answer437
viewsConfirmation of sharing facebook with web API
I have a php code with a facebook button, when clicking the person shares the content, however, on my site has a counter (regressive), every time someone shares, takes 1 of the counter. The button…
-
0
votes1
answer686
viewsHow to return status code from Java Resteasy request
It’s quite intuitive to make a return of the API with an object or something like that, only you would like to make the return of an object along with the status code of the request. @Override @GET…
-
0
votes1
answer241
viewsupload api for Imgur
I am working on a project where I will upload images , good thanks to the forum I discover the IMGUR, to host my images and let the host of my site more free, good but here comes the master…
-
0
votes2
answers1159
viewsAPI mercadolivre does not return JSON
When I glue the address https://api.mercadolibre.com/sites/MLB/categories in the browser I see that the restfull API of the free market returns the data in JSON format, but when accessing the same…
-
0
votes2
answers192
viewsload div with ajax without error in the answers
I have a problem with my ajax script, its function is to take the typed zip code and bring its values via API , however it is presenting an error that I cannot solve, by typing the complete zip code…
-
0
votes1
answer103
viewscreate two markers with drag drop in google maps api
Fala galera, I’m creating a map where the idea is that the person can insert a pin in it and then in the sequence insert another pin, when he inserts the second pin, a line between the two pins…
-
0
votes1
answer129
viewsMVC standard for Controller in codeigniter
I have the following scenario, some models that will be accessed via administration (website) and via client (app), in the administration it will be able to read and write data and the customer only…
-
0
votes0
answers273
viewsFaster API REST - PHP
Good morning Stack overflow!! Next, I’m doing an integration with my bank Sql server of an APIRest, where I pass the information I want in the URL and receive the content as json, however, I perform…
-
0
votes1
answer96
viewsWeb api 2 within MVC project. How to prevent redirection to login page when token is not valid
I’m doing a Rest API on an MVC project. On the API controllers (ApiController) place the Dataannotation Authorize, when the token entered is invalid, it detects and tries to redirect to the login…
-
0
votes1
answer776
viewsHow to view HTML elements in an Android Textview?
I am developing an Api that returns some texts, but these texts have tag HTML, is bold <b> or line <P> would like to know what would be the best way to print this in a TextView, or if I…
-
0
votes1
answer371
viewsSearchbox Google Maps JS API does not return search results
Good evening, I have a map obtained through the Google Maps Javascript API, and I’m inserting a searchBox. So far so good, the search box has been inserted and the autocomplete is working. The…
-
0
votes1
answer2589
viewsHow to test the Restful API?
Hello, I am interning and the boy created an AP and ordered me to do the post http methods,delete and etc.. I wonder if it’s correct what I did and his code, and how I do to test it. config.js…
-
0
votes0
answers323
viewsIntegration with CIELO
I have a question about how to treat --data-binary, the header I know I can handle it that way: $data = [ 'USER' => $this->username, 'PWD' => $this->password, 'SIGNATURE' =>…
-
0
votes1
answer868
viewsPHP - Problems uploading with Google Drive API
Good night. I am trying to upload with the Google Drive API using the following PHP code: <?php require_once 'src/Google/Client.php'; require_once 'src/contrib/Google_DriveService.php';…
-
0
votes1
answer165
viewsCapture my own number of followers
I’m trying to get a get of my follower number via Instagram API. I already own my clientId, mine userid and my accessToken. With the use of instafeed.js I can already access the feed. But whenever I…
-
0
votes0
answers118
viewsAccess to Wordpress API http-headers using Angular 2
I’m having a very simple doubt on Angular 2. I have an application that connects with Rest API of Wordpress and I’m having a problem that I imagine is very simple, but I’m not finding on the web a…
-
0
votes1
answer55
viewsError picking up API data
I’m not getting the data from a certain API, can anyone help me? I’ve tried a number of ways. the mistake you’re making is : Notice: Trying to get Property of non-object in C: xampp htdocs teste…
-
0
votes0
answers262
viewsHow to check in the API if a user being searched in the database is the user who is logged in?
I am using Laravel and I need to create an attribute (is_me) in the model to know if the current profile belongs to the user who is logged in; I was doing as below, but now that I am using API I can…