Questions tagged as 'api'

0
answers

Error downloading zip files c # restsharp

I have a api rest that allows me to download through a URL records of each month, the month before the current one presents it in a .csv file and the others in zip format, the structure of the URL is for the previous month to the current: l...
asked by 11.09.2018 / 16:07
1
answer

node js synchronous query

I'm trying to execute a query to a mysql database after getting some ids from another query, but it sends me the callback blank, so it responds before finishing the query to the bd I do not know how to solve it. imgmodule.darImagen...
asked by 03.09.2018 / 23:19
1
answer

Extract data with API / JSON

My query is as follows, I have a rest API this is the url ( link ) and what I want is to make a GET with a Json . Search the internet for examples with curl but I have never worked with that extension and I do not know if it goes...
asked by 27.08.2018 / 22:19
1
answer

I can not read a data inside an array within a function

I'm stuck a while ago with a task that I have to do. The objective was to make an api rest with an enpoint to objeter data and another to post them. So far, everything works, but now I must put a condition to that post, which depends on my funct...
asked by 28.08.2018 / 21:43
1
answer

I can see all the records (GET) but I can not select one (GET /: id) ... any ideas that can help me? Rails

class UsersController < ApplicationController #before_action :set_user, only: [:show, :update, :destroy] # GET /users def index @users = User.all render json: @users # commented out because a jbuilder template has been adde...
asked by 08.09.2018 / 13:55
1
answer

Academic Search API returns json with the message "This API is decommissioned." and code: gone

I have been using the Microsoft Academic API for a while now to search and for about two weeks now I have been receiving code 410 for my requests with a json: {   "error": {     "code": "Gone",     "message": "This API is decommissioned."   }...
asked by 27.08.2018 / 10:04
0
answers

How can I return a .json file in python with flask

I have a method to read the .json I have in a folder inside the api in flask The method in question I pass a directiorio (dir) and I go through it with a for as it is a folder more folders inside and within these latest folders the .json -esta...
asked by 23.08.2018 / 17:26
0
answers

Answer Bot Telegram

I want my bot to receive the user's response to a question made by the bot itself and continue with the execution of that function without starting the execution again when receiving a message. The command I send is / vehicle route to call...
asked by 29.08.2018 / 05:27
1
answer

Api Rest, get method, how to pass array parameters

I have developed a restfull api in Node.js, the client is developed in angular, how can I send array parameters in a get, should it be sent by the header or by the parameters ?. I currently send it in the body of a post but I do not want to use...
asked by 29.08.2018 / 22:29
0
answers

API - several records from a database with postman

I try to query a database using EJB using eclipse oxygen. At the time of making the request, GET , in postman, always brings me a record. When I consult SQL, it shows me the 3 existing records. Do you need to make a pre-request scr...
asked by 20.08.2018 / 17:13