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
-
6
votes1
answer328
viewsError Based on Accentuation
Hello! I’m developing a Hybrid APP that uses a PHP Webservice to send an email and call a Procedure in Mysql by filling it with the same email details, until the email sending part is OK it sends…
-
6
votes1
answer775
viewsMandatory field rule should be on the backend or frontend?
I’m building an application where the backend is an API and the frontend is Angular2. In a user’s registration I do a validation in the API and if a required field is not filled in the API returns…
api validation encoding-style software-engineering angularasked 8 years, 1 month ago Diego Zanardo 3,301 -
6
votes2
answers996
viewsHow do I protect my JSON application?
I created a unique subdomain to provide data from my tables in JSON, it facilitates requests for both the mobile version and the desktop version of my site, but I would like to protect such data or…
-
6
votes1
answer819
viewsLink address with GPS applications
Guys I’m having a question, I’m developing an ad platform and I came across an issue here. My advertiser registers on the platform fills in the information puts your address and a google map my…
-
6
votes2
answers12870
viewsHow to consume an external API in Spring Boot
I have a springboot REST application that needs to extract information from another application. How I make this communication and can extract this data?
-
6
votes1
answer67
viewsIs there a correct way to pass parameters to search?
I am making a Restfull application and it occurred to me the following doubt: "Am I passing parameters in the correct way for this method?" The method in question is this:…
-
5
votes2
answers3305
viewsHow to search images in Google with Javascript?
I am developing a web page where it was of interest of the project to display some images of Google, where these would be displayed from some significant name. I was reading something related and I…
-
5
votes1
answer5113
viewsHow to add HTML dynamic code snippets with Javascript/jQuery
Usually when we want to list data on front-end using the tags of back-end<%= %> or others. The stalemate I’ve come across now was: "How to do this in jQuery?". To explain better, I am…
-
5
votes4
answers4908
viewsWhat is the cost of using the Google Maps API to create routes?
I’m creating an app where I take the user’s current position and create a route to a certain point. A friend commented that this route service offered by Google is paid for. Someone could or would…
-
5
votes1
answer236
viewsMonitoring REST API status
I’m learning and trying to solve a POST case request where a dispatch of a body well wide to be processed by API and the return is a job ID to access the result. It turns out that the time it takes…
-
5
votes1
answer1161
viewsRails and Webmotors
someone with some experience with Rails integration with the Webmotors Api? I am using Gem SAVON to integrate the application with the site API and am getting the error: Savon::Soapfault:…
-
5
votes1
answer301
viewsSync Android x Web
I am developing an application that will work offline on android and sync with a version web. I have a API that will mediate this synchronization. Currently the version android has a timestamp to…
-
5
votes1
answer1414
viewsREST API versioning. Is there a way to do it and what would be the best option?
Currently I develop integration Apis with services internal to our company and in the near future we will have the opportunity to provide some of our Apis to external partners. Suggest the idea of…
-
5
votes2
answers1518
viewsAPI of Mercadopago
I’m making a trolley system here to test the API of the marketplace. Everything is working, except the part about creating the payment that I have no idea how to get started. API Mercadopago I’m not…
-
5
votes5
answers7965
viewsSome way to get the price of the dollar
Do you know of any api or other way in php to get the price of the dollar? I just need the price of the dollar for the real one. I’ve tried these two api’s, but the two are off the air.…
-
5
votes2
answers820
viewsGET, POST or PUT, which one to use to issue a invoice?
Which should I use when the intention is not to view, save or update the data? I’m creating an API that makes the issuance of an electronic invoice, I made the complete CRUD for the information of…
-
5
votes2
answers112
viewsCustom request validating Unique field on update
Good morning. Guys, I have a request created for user validation, but when I update a record it validates the Unique field I set in validation.. I tried to pass $this->id along so that it…
-
4
votes2
answers3621
viewsIntegrating Paypal Expresscheckout in PHP
for some time I have been researching how to integrate Paypal in my online stores, the ones I myself build from 0 until the final stage that is the payment, but when I went to the Paypal site to…
-
4
votes1
answer596
views -
4
votes3
answers474
viewsMap java.time properties with Hibernate and/or JPA
Is there any way to map properties like java.time.LocalDate and/or java.time.Instant through JPA and/or Hibernate?
-
4
votes1
answer9877
viewsPut Authorization: Basic in the api
I am creating an API as already said, and I need to use the Authorization: Basic KEY to send login and password via header. Unfortunately I am not aware header('Authorization: Basic…
-
4
votes3
answers9179
viewsIntegration with SIGEP Post
I need to integrate with the SIGEP Post API just to generate the tags. I am using the ready-made Github module (https://github.com/stavarengo/php-sigep). It makes the connection normally, but the…
-
4
votes1
answer153
views -
4
votes1
answer1467
viewsHow to avoid misuse of a REST API?
I am developing an application that is composed of three parts: Backend (BD + API), developed with Symfony 2 + Doctrine 2 IOS client Android client Most client requests for the API must be…
-
4
votes1
answer2747
viewsWhat are the API’s to create a graphical Java interface?
There is some other tool besides Swing, AWT and Javafx to create desktop graphical interface for Java applications?
-
4
votes2
answers2271
viewsTake printscreen on Android by API
I have a app and one of the functions would be to printscreen screen. How to do this?
-
4
votes2
answers1595
views -
4
votes1
answer934
viewsHow to add button in Maps?
I selected a Google Maps Activity when creating the project, as I added this button in the layout? <Button android:id="@+id/btn_draw_State" android:layout_width="40dp"…
-
4
votes1
answer998
viewsDoes PHP support Bluetooth?
If not, in general (web) is there support for bluetooth? Is there any way to communicate between PORT WITH (Bluetooth) for the web?
-
4
votes1
answer1542
viewsJava Dictionary API
Hi, I’m looking for a dictionary API in Java to create the program in the following steps: User enters with a string, in this case a word; I print on the screen the invocation of a method of this…
-
4
votes1
answer632
viewsOauth API authentication with external provider
When we use Oauth we have the "authorization server" and the "resource server". The resource server is the server on which the API is, that is, this is where the interface to the resources we want…
-
4
votes1
answer371
viewsSet Pagseguro API delivery address
I have to pre-set the delivery address of the pagseguro in my code PHP. The problem is I’ve tried and I can’t, what I can do is just set the billing address. My code: $paymentRequest = new…
-
4
votes1
answer2455
viewsRest API and Sessions, how does Login work?
I have always worked with PHP/Mysql and Javascript/jQuery. I have always connected PHP to the direct database, and I use login sessions. I am currently working on a project where I use Angularjs for…
-
4
votes1
answer1338
viewsHow to Make Automatic URL in Paypal
I have a page with a form that, after submitted, sends the data to paypal, after the customer make the payment wanted it to be redirected to the return url I send along with this form, however,…
apiasked 8 years, 12 months ago Laranja Mecânica 499 -
4
votes1
answer1695
viewsHow to know if the video is copyrighted via youtube api
There is a way for json to find out if a particular video is copyrighted by the youtube api?
-
4
votes3
answers314
viewsCross-Domain Application Security Questions
I have a question about the security of cross-Domain applications... The following is in case I have a hybrid APP that will run on a smartphone and will make requests ajax cross-domain to an api (in…
-
4
votes1
answer68
viewsHow do Telegram and facebook messenger clean up notifications on devices?
When you receive a notification by Telegram or Facebook Messenger on multiple devices, if you read the message on one of them in the other notification is removed. How does this happen? PS: this…
-
4
votes4
answers6169
viewsAngular js Array within another array
How do I print an array within another array, in the.log console it comes like this: Array[5] 0:Array[10] 0:Object 1:Object 2:Object 3:Object 4:Object 5:Object 6:Object 7:Object 8:Object 9:Object…
-
4
votes1
answer375
viewsHow do I receive emails in my web application?
I am making a web application (front-end in Vuejs/Quasar and server in Hapijs) and I need it in addition to send also receive emails. I am sending it through the Nodemailer library, and it is…
-
4
votes1
answer553
viewsHow do I use Atlassian Connect to get Jira data and generate a JSON?
I need to make a script to get some data from Jira and I believe that for that you have to use the API Atlassian Connect that uses a server in Node.js. However, I don’t want to manipulate the data…
-
4
votes1
answer6891
viewsWebservice/api consult court proceedings
Good morning, everyone! Do you know any webservice/api where it is possible to carry out the consultation of judicial processes in all or in some courts of justice of Brazil? On the website of the…
-
4
votes1
answer145
viewsShould I feed my website through the API or not?
If I am developing a site that has an integrated API, for example Laravel, I own a site and an API in the same project What is the best way to feed the site? I must create a controller which will…
-
4
votes0
answers1111
viewsHow to consume a Graphql API (https://api.loggi.com)
I would like to understand know and know opinions to apply in a project urgently... I currently have a shopping website and I need to use the loggi company API which is a distribution company the…
-
4
votes2
answers2531
viewsAPI request mails returning null
I have a problem with my code c#, I am trying to consume the Post Office API but the data is null. I found another tutorial on the internet that said to instantiate the class trace and grab the…
-
4
votes1
answer483
viewsWhen and where to handle exceptions with Laravel in developing an API
I’m having some doubts when it comes to handling errors in an API. We should always treat an Exception? It would be correct to return a message like the one below? Return: { "success" : false,…
-
4
votes1
answer369
viewsHow do I relate tables with json returns to php?
Please help, I’m new to programming and I need to do a table relationship Mysql, with return in JSON, I tried the following code, but it is in error. I already searched a lot on Google and Youtube,…
-
4
votes1
answer173
viewsApplication without Back-end
I’m doing a mini-application here at the company, where it consumes an API that uses JWT authentication (login done with email and password)... As everything I’ve done so far was with PHP, I’m a…
-
4
votes1
answer166
viewsproblem with listing items of this object
I’m having a problem getting the data received from the payment order from pagseguro. I’m doing the consultation he’s bringing me the results but I can’t get what’s inside the paymentOrders for the…
-
4
votes1
answer664
viewsWeather API - Cities with accent give error
I have the following Endpoint in which you receive in the URI the name of the city and the state: @RequestMapping(value= "/clima/{nomeCidade}/{ufCidade}/agora", method = {RequestMethod.GET,…
-
4
votes1
answer157
viewsProblem generating javascript graph using Spring
I’m implementing Graphics in a web application I’m developing in Spring. I already made my API, it is bringing Json with all the information of my object Cart, however the graphic is not being…