Questions tagged as 'api'

2
answers

How can I get the results of the lotteries?

I looked for lottery APIs to get the results of the contests, unfortunately I could not find any. The answer from @fpg1503 can only read the result of the current game, I wonder if it is possible to get the results of the previous game...
asked by 20.01.2015 / 16:02
1
answer

What is JNDI technology?

I'm starting studies on enterprise applications, and according to my teacher I'm going to need this java technology and would like to know what JNDI is exactly. If possible I wanted an example of its use.     
asked by 26.11.2015 / 18:44
2
answers

What does the term "Consume an API" mean?

I see this term here, what would be its meaning, and how do you get it through code?     
asked by 09.11.2016 / 15:42
3
answers

How to prevent a method from printing data when calling a third-party API?

I am using an API and in some cases a feature of it prints on the screen when there are errors (api errors, not PHP). It happens that I call this API via AJAX and it breaks my code since the request ends up generating an invalid JSON. Is ther...
asked by 23.01.2014 / 19:36
3
answers

What is the difference between GraphQL and REST?

The staff has commented a lot on the use of GraphQL and with that, some comments that will replace this rise we have API's REST. What's the difference between the two (GraphQL and REST)? And in what scenario is it interesting to opt for Gr...
asked by 03.08.2017 / 18:49
5
answers

What libraries to develop a RESTFul API in JAVA?

I am a beginner in java and would like to create a RESTFUL API but I do not know which library to use or how to use it. Can anyone point me to good tutorials or some libraries to study. I would like to use JSON.     
asked by 13.12.2013 / 12:34
2
answers

What would be the route model for an API Rest in more complex operations?

I researched a little about the REST API model, but among many questions I had, I had one that is essentially important. The staff always gave examples of model routes similar to this: https://api.dominio.com.br/account[/{id}] GET -> ob...
asked by 03.09.2017 / 02:16
2
answers

Best Practices for URI in RESTful APIs

I am doubtful about the URIs of some api resources that I am developing. I have the projects and activities resources with respect to 1-N , ie a project has multiple activities and an activity belongs to a project. What is the right way...
asked by 21.10.2016 / 13:28
2
answers

Using methods from a DLL

I'm having to use methods from a DLL that was developed by third parties. I have only the ".DLL" file. The DLL documentation is scarce ... there is an example of executing the method I need in VB Private Const TamMsgErro As Long = 1000 Dim...
asked by 20.02.2014 / 19:49
1
answer

How to avoid overloading HTTP requests when consuming REST APIs?

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 registered user portal, but now I'm creating a website so that non-registered users can only check out a few things....
asked by 12.10.2015 / 14:06