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
-
223
votes6
answers64346
viewsWhat is the difference of API, library and Framework?
They seem to me very close terms and eventually I see texts that exchange one for the other, as if in some situations their definitions overlap. What would be the technical definitions to…
-
198
votes3
answers154272
viewsWhat is REST and Restful?
I always hear of REST and RESTful, but I can’t tell the difference between us or what it’s for. It seemed to me something with Common.js-style application architecture pattern.…
-
56
votes3
answers68185
viewsWhat is the difference between endpoint and API?
I’ve always used endpoint and API as synonyms. Today I discovered that they do not mean the same thing, although they are related. After all, what’s the difference between these two?…
-
21
votes1
answer23926
viewsIs there an API that lists states and cities?
I’ve been searching for some json API that lists the states of a particular country, or cities of a particular state, I’ve searched for this feature for several Google Maps Apis but I couldn’t find…
-
21
votes1
answer7017
viewsWhat is the POSIX?
I know the acronym Portable Operating System Interface (POSIX), but what is it? Does it have to do with UNIX? Windows cannot be POSIX? What this matters to the developer?
-
20
votes1
answer1876
viewsRequests for Rest API
The application uses Spring Rest in which the paths of a CRUD are automatically generated for each entity, I have the entities Vehicle, Contact and Agency and each one with its respective…
-
17
votes3
answers5190
viewsWhat is the difference between Graphql and REST?
People have commented a lot about the use of Graphql and with that, some comments that will replace this rise that we have of REST API’s. What is the difference between the two (Graphql and REST)?…
-
17
votes2
answers3144
viewsIs there a REST specification for uploading files?
I’ve been having second thoughts about it for almost a month. In certain to my application, the user can upload to a file library. This upload needs to be recorded in a table called midias, where,…
-
15
votes4
answers15337
viewsSecurity - What is a KEY API?
I’m seeing this word in almost every service application.. What a KEY API really is and what its uses are? How it really works? Also please, if possible, explain the difference between public and…
-
14
votes2
answers3112
viewsWhat would Win32 be?
In many places on the internet, I see the expression Win32 but never an explanation about. Applications Win32, etc. I’ve always associated with 32 bits, but I don’t think it has to do. A Windows…
-
14
votes2
answers16859
viewsHow can I get the lottery results?
I searched for lottery API’s to get the results of the contests, unfortunately I could not find any. The response of @fpg1503 can read only the result of the current game, I wonder if it is possible…
-
14
votes1
answer5215
viewsWhat is JNDI technology?
I am starting studies on corporate applications, and according to my teacher I will need this java technology and I would like to know what exactly is the JNDI.If possible wanted an example of its…
-
13
votes2
answers455
viewsWhat is the new Javascript Temporal object?
I recently discovered that you have a proposal on stage 3 a new object to work with dates. This is called Temporal. I analyzed an example code in a post from Linkedin that uses this new API:…
-
11
votes1
answer1271
viewsWebgl, Canvas and 3D Graphics
To Webgl (Web Graphics Library) is a Javascript API, available from the new HTML5 canvas element, which supports 2D graphics rendering and 3D graphics. Is there a difference between Webgl and Canvas…
-
11
votes2
answers2058
viewsWhat would the route model look like for a Rest API in more complex operations?
I did some research on the REST API model, but among the many questions I had, I have one that is essentially important. People always gave examples of route models that looked like this:…
-
10
votes5
answers2222
viewsWhich libraries to develop a Restful API in JAVA?
I’m a beginner in java and would like to create a RESTFUL API but I don’t know which library to use or how to use it. Can someone refer me good tutorials or some libraries for study. I would like to…
-
10
votes3
answers269
viewsHow to prevent a method from printing data when calling a third-party API?
I’m using an API and in some cases a feature of it prints on the screen when there are errors (api errors, not PHP). I happen to call this API via AJAX and it breaks my code since the request ends…
-
10
votes2
answers2295
viewsGood Practices for URI in Restful API
I’m having doubts about the Uris of some of the api features I’m developing. I have the features projects and activities in connection with 1-N, that is, a project has several activities and an…
-
10
votes2
answers3309
viewsWhat does the term "Consume an API" mean?
I see a lot of that term around here, what it would mean, and how you get it through code?
-
10
votes1
answer752
viewsWhy doesn’t CORS block Postman and derivatives?
I am creating a Restful API with Nodejs and express and in it, I am using Cors to "control" requests. In the browser works, if I make a request to this API by the console of the site here of…
-
10
votes2
answers1395
viewsHow do I allow only certain applications to access my API?
I am developing an API using Express, which should be used only by an application in the browser, built using React and an application, made using React Native. The question is: how can I restrict…
-
10
votes1
answer231
viewsHow to use IBM Cloud services with POST request in Python?
I am trying to use IBM Cloud’s "Speech To Text" service in my Python application via POST requests with the package requests. The problem is that I am confused about the URL that should be used and…
-
9
votes2
answers5356
viewsUsing methods from a DLL
I am in need of using methods from a DLL that was developed by third party. I only have the file ". DLL". DLL documentation is scarce... there is an example of the method execution I need in VB…
-
9
votes2
answers1210
viewsHow to list more than 50 Youtube videos using Curl
I’m needing to return all videos from a particular youtube user, but my current function only returns 50, which is the maximum allowed by the API. there is some method of doing this? $cURL =…
-
9
votes1
answer1165
viewsHow to avoid HTTP request overload when consuming REST API?
I have a REST API made with Laravel and a Webapp (which uses the features of this API) made in Angular.JS. My Webapp is a unique portal for registered users, but now I’m creating a website so that…
-
9
votes1
answer1639
viewsWhat is Access Token? What is it for?
What exactly is an Access Token? What is an Access Token for in an API application? I would like an answer addressed to Node.js, but I believe that API creation exists in several languages, so I do…
-
9
votes5
answers2767
viewsHTTP methods in practice
I’ve seen the W3C documentation some questions here at Sopt: What are the HTTP request methods, and what is the difference between them? What are the advantages of using the right HTTP methods? Why…
-
8
votes1
answer867
viewsHow to return to "waypoint_order" in the Google Directions API?
I’m developing a route mapping system using the Google Maps API. I have the points of origin and destination and between those points there are some points of interest. When plotting the route…
-
8
votes1
answer1061
viewsCapture the sound of a microphone in Windows via C#
How do I capture the audio the microphone receives in Windows with C#? I want to develop a software that receives the outside sound and based on that it changes the volume of my computer.
-
8
votes2
answers322
viewsWhat is the HTTP verb I use for logout?
I have a logout endpoint to make the Current user token invalid. With this came a question: Which HTTP verb should I use to log out?
-
8
votes1
answer7609
viewsHow to acquire information from the IEC (Investor’s Electronic Channel)?
Forgive my layperson, but there is an API that allows me to pull a user negotiations, knowing the login and password of the same ? Or would it be the case to make a Crawler ? I’ve seen several…
-
7
votes2
answers321
viewsWhich tool to use to generate releases in Java?
I am developing my first project in Java, the application is an API using several libraries, among them: Jetty, Hibernate, Httpclient, Jasperreport... In this project I use the Maven framework, I…
-
7
votes2
answers326
viewsHow does the jQuery stack (stack) work?
When I learned to use the method .end jQuery, I realized that it was a powerful tool that ensures a lot of expressiveness to the code (and I’ve already seen how to integrate it to my plugins).…
-
7
votes2
answers2420
viewsChecking nearest branch of a zip code
I am working on a course system that has several branches. Within the register I have a zip code field and I would like him, through this zip code, to find the nearest branch. Is there an API or…
-
7
votes2
answers7532
viewsNFC-e (consumer invoice) integration API with PHP
Does anyone know of any Consumer Invoice integration manual for using PHP? I am developing a system that contains sales control, and would need to issue an NFC-e, but I can find nowhere any…
-
7
votes1
answer144
viewsShare types between API and client application
I am developing a REST API using ASP.NET Webapi 2 and, as I come from the old SOAP standard, I’m used to type sharing between the API and the client. That is, when referencing my service in the…
-
7
votes1
answer494
viewsWhat is ABI? Does it have anything to do with API?
I am reading that answer because I am currently studying C++. I was trying to understand the difference C and C++. In the quoted answer, I came across the term ABI. Until then I knew about API, but…
-
7
votes2
answers3003
viewsWhat is the difference between Webhooks and a REST API?
In a API REST We define a resource to receive data and then return some response. And to send a message to a webhook, we make a request and also receive a reply (depending on the case). You both do…
-
7
votes1
answer605
viewsHow to login without using the Identity standard?
An update on Api of Facebook made the default login form of Identity stop working. The way I’m doing that stopped working is like this: public void ConfigureAuth(IAppBuilder app) {…
asp.net-mvc asp.net-mvc-5 api facebook asp.net-identityasked 7 years, 8 months ago Renan Carlos 1,594 -
7
votes2
answers1595
viewsORM (Eloquent) in Laravel 5.x VS Microservices architecture. How to develop web services using Eloquent that consume end-points of an API?
Consider the following architecture: This is a very modern model where the API offers end-points for different services to transact with the database. I am a begginer user in Laravel, so my question…
-
7
votes1
answer18750
viewsHow to integrate the application with Whatsapp?
I was wondering if it is possible to integrate an application made in C# with Whatsapp?
-
7
votes2
answers2792
viewsWhat status code to use when there is no database record to return on an HTTP request?
I own an endpoint that returns a list of products. Therefore, if there is data from this list I set the HTTP status code to 200, and if there is not, I return only a json saying that no record has…
-
7
votes1
answer3469
viewsConsume Pje web service
I need to consume the progress of a process using the web service provided by Pje. I am following the guidelines described in: http://www.pje.jus.br/wiki/index.php/Tutorial_MNI According to the…
-
6
votes1
answer1456
viewsIncrease google login session time with Laravel 4
I work with Google API 3.0. My Laravel session expires in 5 years (not to log out anyway). But the Google session has 3 hours, IE, if the system stands still for 3 hours it logs from Google, but not…
-
6
votes1
answer7155
viewsHow to show posts from a Facebook Fan Page on a Website
I wonder which Api or Plugin should use to make available on my site the latest posts of my FanPage. Actually I’m still researching to see if what I want to do is possible. What I intend to do is in…
-
6
votes6
answers10935
viewsHow to receive a JSON object from an external url/domain?
I found a Lottery API that brings me the data of the result of a Lotofácil draw, but I am not able to access the data of the JSON object. I’m trying this way: $(document).ready(function(){ $.get(…
-
6
votes1
answer14394
viewsDecrypt db.crypt files
I wonder if there is any way to decrypt files with the extension db.crypt in general, on the Android platform and there is some API that does this work?
-
6
votes3
answers1870
viewsSearch book details with Google Books API in PHP
I’m using the Google Books API to get the details of a book: And to get the details of a book, by searching for the name, I’m using the following example provided by them, of this case the file…
-
6
votes2
answers680
viewsReal time update on Android apps
Looking at the API from instagram and doing searches on the internet I came across a big question, how they do synchronization of data in Real Time without having to save "photos and videos" in…
-
6
votes2
answers4341
viewsWhat is the best way to log in with Angularjs
In an app using Angularjs and Ionic, what’s the best way to authenticate in an API? I log in to all screens or use some session mechanism? I imagine that authenticating all controllers may consume…