Questions tagged as 'api'

1
answer

OpenLayers | CloudPopUp

I'm trying to make a popup using OpenLayers (more specifically using Ol4JSF) but the part of adding the popup uses the direct jscript, and the popup comes out all bugada. What is the reason? Codeused:<m:script>varlonLat=newOpenLayers.L...
asked by 07.02.2014 / 14:25
1
answer

When and where to handle exceptions with Laravel in the development of an API

I have some questions when it comes to handling errors in an API. Should we always handle an exception? Would it be correct to return a message like the one below? Return: { "success" : false, "error" : { "message" : "<msg...
asked by 13.08.2018 / 16:37
0
answers

Problem with Laravel API in production

I deployed an API in laravel. The problem that is occurring is the following: the online API always returns me '200 ok', without reaching at least the login controller. With this same API, I ran the test on localhost and it worked. Do I need to...
asked by 15.06.2018 / 17:10
1
answer

Cross-origin requests are being blocked

I need to consult some zip codes in viacep API ( link ), when I run get below: vm.buscarCEP = function(){ const cep = vm.empresaResponsavel.cep //RECEBE CEP DO CAMPO const apiViaCep = 'http://viacep.com.br/ws/${cep}/json/' $http....
asked by 04.05.2018 / 04:29
1
answer

problem with listing payment orders pagseguro recurring subscription

I'm having a problem fetching the received data from the pagseguro payment order. I am doing the query he is bringing me the results but I can not get what he has inside paymentOrders for the simple fact that he brings me a code wi...
asked by 03.05.2018 / 19:31
1
answer

How can I relate tables with return in json with php?

Please help me, I'm new to programming and I need to do a MySQL table relationship, with return in JSON , I tried the following code but it is with errors. I've done a lot of research on Google and Youtube , but I could not find anything lik...
asked by 06.11.2017 / 02:19
0
answers

Doubts about creating APIs

I am studying and trying to understand the development of an API, however I have some doubts ... 1 - Which language / tool do you recommend for creating an API? I'm using the Slim Framework to learn, is it a good idea? 2 - What is the diff...
asked by 06.11.2017 / 14:15
1
answer

Instagram API returns data on the network but does not return on callback

I have a strange problem and it looks exactly like this: I am consuming the instagram API and this happens the following thing: The return and display of the network tab of the devtools, but in the request callback, is done with XMLHttpRe...
asked by 30.10.2017 / 19:27
0
answers

Framework for documentation for java REST API

Hello, I have a project in java, with APIs in REST. I wanted to create a wiki with documentation (markdown + swagger) on the APIs locally, also including a way to test the API (API console / explorer). These are APIs with IDP (OAUTH) authenti...
asked by 24.05.2018 / 16:50
0
answers

API for crypto-currency quotes? [closed]

I would like to know if anyone knows an API to search for quotations of the main crypto-coins: Ethereum Bitcoin Dash Monero Zcash
asked by 20.09.2017 / 15:04