Most voted "response" questions
21 questions
Sort by count of
-
11
votes2
answers388
viewsAsynchronous return of some Apis
Why the return of some Apis are exactly the result we want (for example, a JSON) and some others return an object full of functions and objects? Example API that directly returns the result I want:…
-
6
votes2
answers307
viewsBest practice for client to choose response format (JSON / XML)
I would like to know the best coding practice that allows the client to define the response format for the request he made, which can also include filters, conditions, ordering, etc... I made a…
-
1
votes1
answer505
viewsBrowse answer tags from a C#site
I’m performing a query on google by C# and I need to get back from the query the Query Title and the Link of the queries returned. I got my return as follows: public class GoogleSearch { private…
-
1
votes2
answers207
viewsError when picking up JSON elements
Speak guys, blz? I have a problem when it comes to receiving the answer in JSON from Ajax, I can not popular all states in select. Although it is inside of a being it takes only the last element, ie…
-
1
votes1
answer702
viewsNodejs + Mysql + Return of Database Queries
Good afternoon! I’m having some problems with NODEJS using a Mysql database, I’ve made several attempts and I’m not sure how to solve this problem. My problem is that I would like to consume the…
-
1
votes0
answers116
viewsHow to return a new array within the Response.json() in Node.js?
I would like to know how to return a new object array in Response.json() to be visible in Inuit. I am receiving a lot of information from an api and the goal is to return to my frontend only an…
-
1
votes0
answers25
viewsConcurrent React JS requests with queued AXIOS, without using Promise.all or Promise.allSettled
I have the following situation: a form with a single input and a list with results that will be displayed on screen. The idea is for the user to enter a code in the input, and when changing the…
-
0
votes1
answer295
viewsProblems with Scriptmanager.Registerclientscriptblock
My btnDownloadArchitect_Click function. protected void btnDownloadArquivos_Click(object sender, EventArgs e) { Response.ContentType = "application/octet-stream";…
-
0
votes0
answers39
viewsC# - get JSESSIONID site ftp error 401
I can’t get JSESSIONID to download a file from an ftp. I need it because if I put JSESSIONID fixed the file low, otherwise it gives error 401 unauthorized. However this id changes. WebRequest…
-
0
votes1
answer574
viewsHow to handle xml return in Jquery
I am making an Ajax request for a PHP page that returns several data in XML. If I make a simple code recovery by opening the PHP page directly, sure, however I am making the request for another page…
-
0
votes1
answer93
viewsGet object that was created on the server via Angular
Good morning Personal, I am a beginner in Angular 4 (using Typescript) and I have a basic question, but I did not find an answer here. I have a typescript method that calls a method from a Webapi.…
-
0
votes1
answer47
viewsExtract '_id' from load_response object
After post, I get an object load_response, in Dict format, with the following structure: {'_content':…
-
0
votes1
answer722
viewsVue js and Axios does not identify JSON response from API
I have the following code to fetch data from an API via POST, I get the result from JSON (as I can write it to the console. However, I cannot recur the values to fill the Vue element array. // Get…
-
0
votes0
answers241
viewsHow to recover the tragos data in the api query in NODEJS
Good morning Galera. I am consuming an external api and am receiving the data as follows: { "place_id": "151508663", "licence": "Data © OpenStreetMap contributors, ODbL 1.0.…
-
0
votes0
answers73
viewsExport dataset in excel Asp.net
I created a program to export a Dataset to excel at runtime via Response, but when opening the file a message of incompatibility between the file format and the file extension is displayed. Follows…
-
0
votes1
answer311
viewsHow to convert Jsonarray to Arraylist<> on android
Hello, all right? I would like your help to be able to convert a Jsonarray to Arraylist<> on android. I make a request that returns me the following Json: {"normal":{"test_graph":{"VALORES…
-
0
votes1
answer355
viewsChatbot respond only when a specific word is contained in the sentence
I’m creating a Chatbot in Telegram that can answer questions from group users. The bot needs a keyword to start chatting. That word would be his name, "Joker". Thus, only when the word Joker is…
-
0
votes1
answer107
viewsUndefined for the body of a request
I’m trying to create a Postings in Node, where a post will have the following fields : Category, title and Description. The entity responsible for making this feature is called posts, which is…
-
0
votes1
answer428
viewsGet url of route accessed in Nodejs
I need to know which external url the user accessed on my server. My script works well when the route is "localhost", but it doesn’t work to know what the url is when the domain is not the same as…
-
-1
votes1
answer322
viewsWhat should I return in a REST API when the results are either true or false?
When I search for information in the database and this information is not returned (because it does not exist), what should I do? Fill a JSON object for GET return? And if it returns false? Can…
-
-3
votes1
answer201
viewsChatbot not understanding registered phrases
I’m developing a Chatbot called "Joker" for use in a Telegram group. The Bot must respond only if its name (Joker) is quoted in a sentence, otherwise it must remain "silent" without interfering with…