Most voted "request" questions
HTTP request is when your browser displays a web page, this process is performed using the HTTP (Hypertext Transfer Protocol)
Learn more…147 questions
Sort by count of
-
0
votes1
answer31
viewsHow to make a request and search for a string
I wonder how I give a request and look for a string, example: *www.site.com/index.php? id=' (Error SQL) (find the error) I’m just having trouble with it since it’s almost all set, so follow the…
-
0
votes1
answer100
viewsPOST requests with Android loading icon
I’m making an Android application that will make some requests to an API, I generalized these requests in a class (Requestapi), where, to use it, just create a map with the information I’ll send to…
-
0
votes1
answer1666
views -
0
votes1
answer120
viewsHow to display or extract all "cookie" information from a python page?
I’m trying to extract the cookie from a page but I can only get information from the NID: import requests session = requests.Session() response = session.get('https://www.google.com/')…
-
0
votes1
answer36
viewsxmlhttp is not defined
I’m having some problems when performing an ajax request by javascript, however, it appears that the variable xmlhttp was not defined, even though I defined it before the function and before using…
-
0
votes1
answer65
views -
0
votes0
answers294
viewsProblem importing a class in Laravel 5.5
I am trying to include the class that handles the Request of my form, but it always returns error of not found, however, I have already checked and reversed and the file and the patch are correct. I…
-
0
votes0
answers98
viewsRecaptcha token validation request returns nothing - Nodejs Request
Good evening, I’m studying bots to automate buying tennis on sites like artwalk and nike through web requests and other automation systems via requests. My problem consists of a attempt to intercept…
-
0
votes0
answers16
viewsHow to insert certificate in request?
To get the access token of a payment api I need to send two files, web.key and web.pem (CRT File = File .pem KEY File = File .Key). In Postman works perfectly by adding these certificates, now I…
-
0
votes2
answers38
viewsError in customizing the default user registration Laravel Auth
Error after registering and redirecting PS: he makes the registration normally, and I can access normally, but always give this error! I made a modification only in the user register, I…
-
0
votes0
answers35
viewsHow to make multiple validations Requests in Laravel?
Laravel allows you to create Requests to validate fields coming from the front end, but I wanted to make several Requests to validate a giant Request. Is it possible? It’s good practice? I made…
-
0
votes2
answers858
viewsFlask - sending form back to another function
Below is my default.py where I set the end-point; What I’m trying to do is get the information from FORM that’s on "/" send to the return_request() and append the result of Request in "/output" def…
-
0
votes0
answers98
viewsHow to add values of a request:
Example: request = requests.get('https://api.amountofsomething.com') quantidade = requisição.json()['amount'] This request returns the quantity, for example: {[{25}{120}{158}{0}{2}{10}]} I need to…
-
0
votes1
answer217
viewsRead data from a url
I would like to get data from a url address Researching I found that one reply I implemented for my reality var http = require('http'); var options = { host: 'http://192.168.1.6', path:…
-
0
votes1
answer95
viewsAngular - HTTP Interceptor returns the value of a promisse
I have to apply a descriptografia on the return body of a request via Interceptor, but the method of decryption is asynchronous and returns a promisse. Follow a section of the class: intercept(req:…
-
0
votes2
answers1691
viewsHow to prevent a form from being reloaded when updating your browser page?
I have a form with the following structure below: <?php //Lógica em php.... ?> <html> ..... <form method="post" action=""> ..... <input type="submit"> ..... By clicking the…
-
0
votes1
answer101
viewsHow to get the Gmail source code using Python3
I am accessing the Email using this code I found and adapted: import requests from bs4 import BeautifulSoup form_data = {'Email': '[email protected]', 'Passwd': 'senhaexemplo'} post =…
-
0
votes1
answer118
viewsAWS - How to make CRUD on S3
I recently started studying AWS, and I’m feeling totally lost in the meaning of some things, how they work and what are their contexts for the application. For example Keys (Keys), buckets (Bucket),…
-
0
votes1
answer459
viewsError while using urllib library
I’m trying to make a simple application Hello World taking a look at documentation with the library urllib with the aim of picking up content from a specific website. I will refine the content I…
-
0
votes2
answers669
viewsInvalid character in HTTP Request C#
I need to develop a Webapi that you pass a Query and it returns the google search with title and url. I am using C# and . NET, when I do the HTTP request to receive page data, it is returning the…
-
0
votes0
answers92
viewsHow to resolve txt special character error
I’m using the library requests and the following code in Python to take data from Receita-WS and to JSON in a TXT. for i in lista_empresa: url = "https://www.receitaws.com.br/v1/cnpj/" + (i['cnpj'])…
-
0
votes1
answer229
viewsNodejs send server files to server
Good afternoon, my friends, I am trying to send a file from an application of mine (in Node) to a web server made in PHP. But it is returning the message saying that the file parameter (arqCsv) was…
-
0
votes1
answer1859
viewsHow to fix "EPROTO" error after updating Node version?
The following code works in the version v10.15.3: const { post } = require('request'); const { post } = require('request'); post({ url:…
-
0
votes1
answer204
viewsForm value API Request - Javascript Axios - Ajax
I am trying to enter a value in the form and if the value is equal to the login string of the api return me the login property and show in HTML. Html do form e do button <input id="procurar"…
-
0
votes2
answers91
viewsConsuming webservice, login screen
Good morning! To create a project in JS, EJS and Express.js for studies, to consume a list of cars using webservice: https://carros-springboot.herokuapp.com/api/v1/carros On the login screen, using:…
-
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
answer202
viewsHow do I use variable value outside of your callback? Javascript
I’m trying to get the HTML of any URL (Google for example), to use it in my front end. First, I try my server.js Node with Express to get this HTML through the "request module":…
-
0
votes0
answers144
viewsSet time limit for the download response of request.get() [Django and Python]
I am having problems with the server data return time when I make a get request. The server starts the data transmission, but sometimes it takes too long to complete the upload (more than 30…
-
0
votes1
answer457
viewsHow to use multithreading with requests?
Hello, I’m developing an availability Hecker to change names for a game, but it is very slow, I read about the multithreading module but I found it confusing to use, I have no idea how to implode it…
-
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…
-
0
votes0
answers20
viewsImage Transport Using Nodejs Request Module
I have a code that makes a request for a site is delivery to the user But it can not send Images The Image Does Not Load(When I lower the image it shows q ta corrupted) When I enter the Site.…
-
0
votes0
answers82
viewsSend an external API token with request in Node.js
I’m new to Node.js, I have a question maybe easy to resolve... I have an Node.js application that communicates with external API in php, send and receive information through tokens, and I found a…
-
0
votes1
answer203
viewsHow to save requests return and save to . txt or . csv file in Python
I wonder if it is possible to save the return of a request in file . txt or . csv in Python. I need some NIST data and for that I made the following code: import requests from bs4 import…
-
0
votes0
answers37
viewsRequest problem that only falls in catch
I’m working on a new project so I don’t have much control of the code and I’ve reached a problem where the request doesn’t work or returns something where I can’t solve , it just falls into the…
-
0
votes0
answers23
viewsDjango Session permitted for user
I have a Django application that registers a user, using the Django User table. Everything of that scope is working but there have to be restrictions. When accessing username1 account and username2…
-
-1
votes1
answer178
viewsHow to restrict GET requests from other sites?
I’m trying to stop other sites from copying my download links, but they’re unconventional (they don’t have format at the end), so I can’t block through Apache mod_rewrite. So I decided to block GET…
-
-1
votes1
answer43
viewsLooping no request
How could I make a looping to bring information from the request of a csv coordinate list and take the result to another csv? import requests import pandas as pd parametro =…
-
-1
votes1
answer56
viewsJAVASCRIPT - Accessing property that contains api link
Good evening! I cannot access the title property inside the films as I do to make this request? Planet: Hoth Total population: USSR Climate: Frozen Land: tundra, ice caves, mountain ranges Movie…
-
-1
votes1
answer336
viewsSites with authentication - Web Scraping - Javascript
I am trying to automate a web data acquisition process using JS. In my case, I need to pull the information from the page https://sistema.justwebtelecom.com.br/adm.php. However, before going to this…
-
-1
votes1
answer39
viewsVariables in JS Node
wanted to understand more the concept of variables in NODE. I tried to make a simple code to read a json from the internet. I created a variable to receive the name of the title, but after set, it…
-
-1
votes0
answers24
viewsOserror: [Errno 9] Bad file Descriptor when running the Google API build
Hello! I followed the doc to make the connection of google Sheets and google drive via script, using the python language and was working normally. Today, began to present an error when I run the…
-
-2
votes2
answers510
viewsReturn response problem via $http.post()
I’m just trying to get a return value HTTP but I’m not getting it. .controller('myCtrl', function ($scope, $http) { $scope.sendPost = function() { var dataObj = { name : $scope.newName }; var res =…
-
-2
votes1
answer36
viewshelp with request
I am writing a subdomain scan and did the following code (I’m sorry for making you cry with such): import requests while True: url = raw_input("url: ") lista = ['blog', 'ftp', 'cpanel', 'intranet']…
-
-2
votes1
answer5380
viewsHow do I send the body in a request (POST) on Xios?
axios({ method: 'post', url: 'https://backend.tangotechapp.com/REST/getTokenRequest', headers: { 'Content-Type': 'multipart/form-data'…
-
-2
votes5
answers2360
viewsTypescript error Property 'user' does not exist on type 'Request<Paramsdictionary, any, any, Parsedqs>'
How can I fix the error Property 'user' does not exist on type 'Request<ParamsDictionary, any, any, ParsedQs> I created a @types folder at the root, inside it had a file express.d.ts with the…
-
-2
votes1
answer14
viewsWill using only 1 endpoint overload my API?
If I only use 1 endpoint to make all requests in my API. Using switch case to separate the functions. Whereas my API is accessed in a matter of approximately 1000x to 2000x per minute. The fact that…
-
-3
votes1
answer82
viewsReturn Undefined in html for JSON object request
I’m trying to return JSON objects from an api, only when the elements are rendered in HTML, the value passes to Undefined. I believe it is something with the request in appenChild, since it returns…