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
-
1
votes1
answer852
viewspython3.6 URLLIB Request
I have this code: import urllib.request x = urllib.request.urlopen('https://www.google.com') print (x.read()) And the mistake that happens : Traceback (Most recent call last): File "python", line 3,…
-
1
votes2
answers1382
viewsLaravel 5.3 with Ajax
Dear friends, I ask your help to help me solve an Ajax problem with Laravel 5.3 I am facing problems with Internal Server Error 500, and looking for information about it, it may be a problem of…
-
1
votes1
answer321
viewsMore performative way to work with Request in Classic ASP?
I’m working on a web page that uses Classic ASP and I got a question, store the value of a request in a variable improves performance when compared to staying using the request("value") throughout…
-
1
votes0
answers59
viewsPHP - Std::Class error
I have the following code: case 'operator-autentication': global $decoded; $array = array(); $user = $decoded->user; $pass = $decoded->pass; $opr = new opr_func(); $arrResp =…
-
1
votes1
answer179
viewsSubmit a form using request in php
Good morning guys, I am making a form (course work) and need to echo in all information typed in the form using REQUEST (can be POST too) when I click the "Submit button". I searched the internet a…
-
1
votes1
answer201
viewsUse data from a request in a global variable
I’m having a difficulty that I’m sure is simple for you! var request = require('request') var a var b request('https://exrates.me/openapi/v1/public/ticker?currency_pair=eth_usd', function (error,…
-
1
votes0
answers128
viewsRequest for ASP.NET MCV super slow
I have a complicated problem with my project, and I don’t know what else to do. I have an MVC4 project (after an upgrade of the MVC3 project that the company I work for already had) and it is…
-
1
votes1
answer104
viewsIspostback Asp.net
My Asp.net application (aspx) has two Label-type Controls that need to be filled with information from a Request Querystring. In Page_load I do the treatment so that the Controls of type Label…
-
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
answer450
viewsCompeting requests using Xios without losing the session
I am developing a Crawler using Xios. How can I make multiple requests or callbacks without losing the session and without having to manipulate cookies? Note the example below. When logging in, I…
-
1
votes0
answers296
viewsRequest Variable returning null
Good afternoon guys, I’m new to frameworks but I have the following little problem: the request ta returning empty for my query thanks in advance "select * from `usuarios` where `cep` = ?" my…
-
1
votes2
answers525
viewsHow to fix CORS error in Node.JS? (Web Crawler)
Well, me and my group of TCC we’re making a website, where his function is fetch products on various websites specializing in Hardware and show which site has the lowest price. We are making the…
-
1
votes1
answer593
viewsCURL PHP request for a WEB Service
Good morning to you all. Guys, I’m having a problem communicating with the web service of a third-party company here where I work. Explaining above, I need to send a report of transactions with…
-
1
votes0
answers37
viewsHow to access a browser request history
I am learning about networks and etc and I would like to know if it is possible to see a history of the requests that the browser makes is if given, how to have access to it.
-
1
votes1
answer43
viewsRemove commits from a repository
I needed some way to remove commits from a Fork mine from a repository and leave only the selected ones. I’ve tried to use git rebase, as suggested on several topics, but unsuccessfully, the changes…
-
1
votes1
answer45
viewsAsync request problem with variables
The problem is with variables why the function async is running after the variable assignment. what can I do for the function to run and wait for it to finish to take the variable value? var request…
-
1
votes1
answer172
viewsOn big scrapings how to avoid Connectionerror?
In Python 3, I have a program to make web-scraping tables on websites. There are 5,299 pages, on each page there is a table With XHR I found the generated JSON on each page. But there is always a…
-
1
votes0
answers138
views -
1
votes0
answers39
viewsAccess to subfolders in the URL is being blocked by . htaccess
Hi, I have a url for a system where "test" in a subfolder within the system directory. The .htaccess directs the index to a file "php app." what is the file that makes the autoload of the system.…
-
1
votes1
answer88
viewsIf you have this word in the Curl answer, print "OK"
I made a Python URL to check some information of my client, everything is going well, the answer of my api is json, I would like to know how I do for if the api has, for example "userid", it samples…
-
1
votes1
answer45
viewsget search page is not being displayed because of REQUEST_URI
Well I’ll try to get past what happens! I have a php site where you have the config.php file with the following lines <?php $current_page_uri = $_SERVER['REQUEST_URI']; $part_url = explode("/",…
-
1
votes0
answers2743
viewsAjax request with Authorization header
I’m trying to make an ajax request but it needs a BASIC authentication, follow my code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>…
-
1
votes1
answer763
viewsError making UTL_HTTP request. ORA-28759: Failure to open file
By making a request the determined endpoint, error occurs below CREATE OR REPLACE PROCEDURE CALL_REST_WEBSERV_POST_METHOD AS V_WLT_DIRECTORY VARCHAR2(4000) :=…
-
1
votes1
answer5197
viewsRequest Python form/data
Guys I made this request in Python but not enough data in API, made in Postman works perfectly. API_URL = "https://api-us.faceplusplus.com/facepp/v3/detect" api_key = "7Z...uC" api_secret =…
-
1
votes0
answers42
viewsHow to access the stream before compression runs via Global.asax?
On the server side apply compression when possible: public MvcApplication() { this.BeginRequest += OnRequestBegin; this.PreSendRequestContent += OnPreSendRequestContent; } private void…
-
1
votes1
answer317
viewsInstances of Singleton Asp.Net Core classes
I have a doubt in the following situation: Singleton Classe namespace TesteSingleton { public class Singleton { private Singleton _singleton; public Singleton() { if (_singleton == null) _singleton…
-
1
votes1
answer76
viewsHow to capture class attribute with Cheerio?
I’m studying Web Scrapping with Cheerio and Request. I’m having a hard time trying to capture the class attribute on the Amazon site that contains a div list and is not returning anything. var…
-
1
votes2
answers123
viewsonclick event is not calling the function
The onclick event is not calling the desired function HTML: <!DOCTYPE> <html> <head> <script type="text/javascript" src="main.js"></script> <title> app…
-
1
votes0
answers24
viewsBlock right access to file called by Ajax function
I’m adding layers of protection to a small system I own in PHP. In the requests via ajax, for example, I use the following code below to prevent people directly access the files that are called via…
-
1
votes1
answer199
viewsProblem API pagseguro in JAVASCRIPT
I am doing a project for my Lean Startup and to better understand how the Pagseguro API works, I decided to test. Currently the entire project API is in NODEJS. I did a lot of research and only…
-
1
votes1
answer47
viewsWhy does the HTTP request response not recognize special characters?
Why when I make a request using Beautifulsoup in Python, my answer does not consider Latin characters? Code: import requests from bs4 import BeautifulSoup req = requests.post(url=…
-
0
votes2
answers353
views -
0
votes0
answers72
viewsSend multiple Ids in one request
My app is a QR Code scanner that when it reads a QR from a device makes a request to the server by a JSON. In activity DeviceInfo.class That’s where I show you all the information I want on Qrcode…
-
0
votes0
answers138
viewsURL request in Swift
How do I pull only the name and poster from that page : https://www.themoviedb.org/search/remote/multi?query=exterminator%20do%20futuro&language=en For a project in Swift ?…
-
0
votes0
answers282
viewsHow do I get the same browser answer using java/socket?
The thing is, someone already had to make a request http-post implementing socket java? I need to make a request on the site http://spys.ru/en/ and take the Sponse to mine some proxys. However, I…
-
0
votes1
answer2967
viewsProblems with iframe and X-Frame-Options Header
I was starting a simple project but when I will use the <iframe> there is a problem, the page problem which I am requesting does not appear. I did a search on the subject and found some people…
-
0
votes1
answer944
viewsSending form via Ajax in Laravel + Request
I have a form that makes the registration of people. I need to send it with Ajax to not reload the page. So far I have the following ready that I followed from a tutorial. Js who makes the upload.…
-
0
votes0
answers151
viewsSearch API stopped returning XML
I’m trying to access the address http://sandbox.buscape.com.br/service/findProductList/554163674d2f57624d676f3d/BR/? categoryId=77&keyword=Samsung by the browser but stopped returning the XML.…
-
0
votes0
answers297
viewsRequest select returning null value
Good afternoon, I’m having trouble getting the value of a select in the following form: {{Form::open(array('action' => 'FilterController@EstatisticaEsic', 'class' => 'form-filter'))}} <div…
-
0
votes0
answers27
viewsFailure to connect to IBM Language Translation via PHP Curl
I have a problem that I can’t solve. Basically I need to translate a string into Português for English. This is the code I was able to develop: <?php class CtrlTranslate{ public function…
-
0
votes0
answers24
viewsIs it possible to make a $_Request[""] from an attribute other than name=""?
I wonder if it would be possible to make a $_Request[""] of the attribute of an HTML tag besides the name="". In my case it would be date-Fotocapa="test.jpg". Dai would request the date-Photo Cover.…
-
0
votes1
answer641
views413 request Entity Too large
I have a banknote issuing service that was running normally on a VM on Azure. We migrated to a Google VM and now presents this error when the note has many products: 413 request Entity Too large I…
-
0
votes1
answer208
viewsHow to print the Browser or OS name on a JSP - Java Web
would like to know how to print the browser the client is using and if OS using jsp. Some people suggested using ${header["user-agent"]} however, this command returns various information and I would…
-
0
votes2
answers101
viewsWhat can I use to differentiate two POST requests in php
I am making a web system with php, which has a conditional deviation to check whether the request is a repeated post or not, I did this to ensure that I would not keep giving multiple repeated…
-
0
votes1
answer62
viewsIncrement object to HTTP request
I am trying to make a request in which I send a JSON (POST) and receive another, I am doing the following: mount/feed my object and call this request: string URLRequest = URL + customer_id +…
-
0
votes1
answer1913
viewsHow to Request JSON Data
I need to collect some data from a program that has API: Pipedrive API Reference If I understand correctly, for each task, a URL will be generated to do the Requeste from the data, example:…
-
0
votes1
answer47
viewsProblems with ajax request
Well, I am trying to perform a simple ajax request, but the called content is not being displayed. How can I resolve ? var xmlhttp; function callContent(){ var mainContent =…
-
0
votes0
answers39
viewsintval() changes values
Today I was making a web application working with $_REQUEST. However I noticed that when performing an UPDATE the value went wrong, and when I looked at the functions in php, that was the most…
-
0
votes2
answers2568
viewsReceive PHP Json POST
I am trying to receive in PHP a Json via POST and display it on the screen, the Json is sent through an API that does not have access to the script you send, I am trying to print on the screen…
-
0
votes1
answer237
viewsAndroid: How to make a request POST to grab an image
I need to get a server Bitmap through a POST method with the body (JSON) and header to put in an Imageview. I tried using Volley’s Imagerequest but I would need to pass the URL directly from my…