Questions tagged as 'api'

1
answer

Angular4 wait for callback to API without timeout

If you can help me, please. I need to make a call in the API but there are a lot of data and I want Angular to wait for this term, at that moment I put a promise but it does not wait and as long as the API is handling the data on the NodeJS s...
asked by 23.07.2018 / 15:21
0
answers

check if live youtube is on

I'm having a doubt that I'm running out of time, I need to recover the live status of my channel to manipulate on my site, I need to get the live status if it's ON I'll get the url and get it on the site There is some way to do this, I tried...
asked by 22.07.2018 / 08:37
1
answer

Error consuming API on Android

I'm trying to consume an API on Android, but I'm not getting it. Debugging looks like it can not get out of AsyncTask and does not return the value where it is calling the method. It can read the data without any problem and assign true or false...
asked by 04.08.2018 / 03:45
1
answer

Vue Js and PokeApi

I'm currently studying VueJs, I'm using Ajax to request the API, and integrate the application, but I've read it in different places about Axios. Why use Axios and not the "$ .Ajax"? It is more organized, secure, or simply "standard."     
asked by 16.07.2018 / 14:57
0
answers

Worked With Cake php and api via zip

I am having trouble working with api in cake php I am using an api via zip to list me the city and state but and save in the bank the bank structure as table city - > name_city, state, my code is the following sorry for the lack of organizat...
asked by 12.07.2018 / 18:55
0
answers

Automatic API Integration

Based on what the postman does, what the codegen does, I believe it is possible, from an api specification, to perform an automatic integration of an X system with a Y system. Imagine a virtual store, which needs to calculate freight, tra...
asked by 13.07.2018 / 01:36
0
answers

File without extension

I have an application that streams an audio file on a page, but when trying to download it the file comes with no extension. Here is the code I use: public HttpResponseMessage Get(string filename) { AudioSteam audio = new Aud...
asked by 06.07.2018 / 15:54
0
answers

Error inserting documents into MongoDB

I made these inserts through the mongo shell: db.Operators.insert([{ Name:'Paulo de Tarso', Version:1 }, { Name:'José de Arimatéia', Version:1 }, { Name:'Catarina Silva', Version:3 }]) This is my entity in the AP...
asked by 05.07.2018 / 19:35
0
answers

Server error in Node.js

Server running on port 8080 events.js:183 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at _errnoException (util.js:992:11) at TCP.onread (net.js:618:25) After some time in the air the server of this error...
asked by 27.06.2018 / 15:46
0
answers

Center return message API - Laravel 5.6

Good night everyone, Well, I'm a few days away looking for an alternative or better practice, but without success, I would like your opinion. I'm developing an API in Laravel 5.6, and I would like to know a better practice for returning th...
asked by 27.06.2018 / 03:09