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
-
34
votes3
answers1426
viewsHow does the HTTP protocol process requests?
HTTP methods are used to send and receive data from the server, such as the GET (recovers data) and the POST (sends the data). Following the above definition to understand very well the purpose of…
-
17
votes2
answers13586
viewsUse of $_REQUEST instead of $_GET, $_POST and $_COOKIE
In PHP we have available the global variable $_REQUEST which can be used instead of using the global variables individually $_GET, $_POST and $_COOKIE. For example: <?php // utilizar $bubu =…
-
10
votes1
answer231
viewsHow to use IBM Cloud services with POST request in Python?
I am trying to use IBM Cloud’s "Speech To Text" service in my Python application via POST requests with the package requests. The problem is that I am confused about the URL that should be used and…
-
6
votes1
answer3700
viewsHow to make a POST request in Python?
I’d like to know how to make a request POST in this URL, and then arrive on that page. Where I have to spend the year at div of the tax body without signature.…
-
6
votes2
answers2437
viewsHow to properly save an image URL in Mysql database?
I am testing the targeting of images with the URL. However, during the tests, the URL was returned with changes as can be seen below: URL inserted in the database:…
-
6
votes2
answers241
viewsWhy does Steam api refuse Angular calls?
I am simply trying to feed my application data from the Steam Api. Let’s take this example:…
-
6
votes2
answers1284
viewsAre there differences between Post and Request?
When I read regarding the request I always get the term post together, and that raises me a doubt. I understand that the request serves to make a request for something to the server and then the…
-
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…
-
5
votes1
answer1392
viewsHow to use redirect methods with Java Servlets
Hello, I have a page ordem_servico.jsp with a form that when submitted goes to Servletinsertordemservico which inserts the form data into the database. I am trying to make sure that when the data is…
-
5
votes1
answer1374
viewsCreate Unique constraint with two fields in the Laravel request
I have in the creation Migration of my table the following: public function up() { Schema::connection('database2')->create('empresa_funcoes', function(Blueprint $table) {…
-
4
votes1
answer211
viewsuse user ip as proxy to request
I am developing a site using the guzzle and wanted to use the ip and the port that the user accesses the site as proxy at the time of the request already tried these codes and n was <?php $ip =…
-
4
votes1
answer2549
viewsHTTP React Native Request
an API sends a status:false the code taken status. While status==false, will be rendered the image of exclamation.png and message 'Pedido em Análise'. Case status change to true both image and…
-
3
votes2
answers77
viewsDoes parameter name size influence http request time?
An http request for a service has its performance (bandwidth consumption/internet/time) changed if the parameter names are large? Example. Requisition POST with the following parameters {…
-
3
votes1
answer205
viewsJquery cancel ajax request
How can I cancelar uma solicitação do Ajax that has not yet received the answer using Jquery.
-
3
votes1
answer860
viewsHow to send multiple requests at the same time
Well my program takes Urls from a text file, enters them and checks if it has a certain text in its HTML code, it would be possible to read all lines of the file, and instead of making a request at…
-
3
votes2
answers2387
viewsDo a custom validation on Laravel 5
I have a system on Laravel 5. I have a Form Request validating the fields of a form with some rules. And here’s what I needed to do: I have a tab on the form that registers the partners of a…
-
3
votes1
answer1519
viewsEdit record before passing validation rule in Laravel
I own a form who registers clients. In the field of CPF, i format the data with jQuery by inserting the punctuation between the digits. It turns out that by inserting this formatting, my Requets do…
-
3
votes2
answers184
viewsDo data received via Request using Doctrine need to be processed?
I’m developing a new project, it’s the first time I’m using Doctrine with Silex and I am in doubt as to the receipt of information through forms. I receive the data from forms through the Request of…
-
3
votes1
answer496
viewsRequest arrives null on C#
I have a request that’s being made this way at angle 5. enviarEmail(titulo: TitulosCobranca, unidade: UnidadeEmpresa) { let param: any = { titulo: titulo, unidade: unidade } return…
-
3
votes1
answer1193
viewsWeb scraping with Python (Selenium and Request)
Hello, I am trying to perform a web scraping on a page protected by login, I have already managed to access both via Request, and via Selenium, the problem is after login. The page is as follows:…
-
2
votes2
answers588
views -
2
votes1
answer64
viewsRequestmapping to a large URL
Wanted to know how I make one @RequestMapping for a large URL. In case I wanted to map the word authenticate.…
-
2
votes1
answer109
viewsIs there a back-end service that responds to SMS messages?
I’m doing research on back-end communication operations that use SMS messages to interact with users. I couldn’t find anything relevant on Google that explains clearly how this service works. Would…
-
2
votes1
answer273
viewsSave REQUESTS AJAX to be executed later
Use jQuery and the Ajax library to make REQUESTS. There is a way to save REQUESTS, follow the example.. The user is there moving and suddenly the connection drops and the user does not notice it.…
-
2
votes1
answer178
viewsMake ajax request with user IP
When I make the request in some site vi ajax, takes the server IP as requesting, I have to put the user IP as the responsible for the request?
-
2
votes1
answer727
viewsShow PDF on the page via Servlet
Hello, I am developing a web application using Servlets and Jsps. I still don’t have much experience with it. My page contains a button that downloads a BD file and a <object> HTML to display…
-
2
votes2
answers196
viewsAjax Jquery - Accumulating requests
Good morning to all, I have a very strange problem with a system I picked up for maintenance. All the requests I make for the server have been accumulating. For example: - carry out user deletion…
-
2
votes1
answer455
viewsRecover Cookies in Spring Security Authentication
How can I recover cookies when the user logs in through Spring Security and with the implementation of the interface AuthenticationProvider? If I recover an instance of HttpServletRequest from a…
java spring cookies spring-security requestasked 8 years, 11 months ago Giancarlo Abel Giulian 3,999 -
2
votes1
answer141
viewsProblems with Request using superagent
I’m trying to accomplish a request using the library superagent on my server nodejs, I am following the documentation, however, it is not working. Follow my code nodejs: var express =…
-
2
votes2
answers72
viewsIs it possible to upload an image and rename it only with Java Script?
Have some way to grab the image file of the request, save it in some directory and change the name of the server using JavaScript? Obs: It can be either way, or use any framework (AngularJS, jQuery)…
-
2
votes1
answer1043
viewsDatabase Request API For Angularjs
What API’s to make requests with database (mysql preference) that I have available to work integrated with Angularjs, some that is simpler to use and that runs on any server, I was going to use the…
-
2
votes2
answers706
viewsValidation in Laravel 5 in array fields?
Through site collaborators I managed to ask a question Do a custom validation on Laravel 5 on validation in Laravel, where it was possible, validate a field input text only if a Combobox was…
-
2
votes2
answers627
viewsFetch API cannot load [URL]. Response for preflight has invalid HTTP status code 404
Greetings ! I am facing the following problem, I make a request [POST] via Fetch API and "call" does not conclude. REQUEST VIA Fetch API const requestInfo = { method: 'POST', body: JSON.stringify({…
-
2
votes0
answers457
viewsHow do I process a JSON in the event of a request-Promise failure?
I have 2 Microservices, one in Nodejs and the other in Spring. Nodejs contains the domain of events (parties, birthdays etc) and Java the domain of users. When viewing Nodejs event endpoints, I also…
-
2
votes2
answers196
viewsHow can I test if a Nodejs Response is still alive
I have a Response from Nodejs(Express), how can I test if he is still alive ? let responses = [] app.get('/', async function (req, res) { responses.push(res) }); setInterval(() => {…
-
2
votes1
answer2197
viewsLaravel - Validate Unique field in update
I have a plate field on the table that needs to be unique IN MIGRATION Schema::create('professors', function (Blueprint $table) { $table->increments('id');…
-
2
votes2
answers433
viewsHow do I recover and calculate 2 numbers via POST in Controller in Laravel?
I am a beginner in the language and I am trying to learn by myself, I created a php .blade.file in order to fill two simple fields and return the calculation via Submit, after that I intend to list…
-
2
votes1
answer242
viewsOmdb API sorting python dictionary items
I need to make a program that given a given name, return the name of the film and the year it was released using the Omdb api, and sort by year of release. I managed to list the movies but I’m not…
-
2
votes1
answer127
viewsLaravel 5.8 - Validation - pass value of one input to validate another
I would like to check if there is a possibility in the formRequest validation to pass the value of one input as a parameter to validate another. Example: Inputs 'company_id', 'email' in formRequest…
-
1
votes2
answers272
viewsHow to perform asynchronous request using JSON?
Scenario, I have a data request using JSON but I would like this request to be performed outside the main thread of the app, so that it does not catch and that the user can perform other operations…
-
1
votes0
answers123
views -
1
votes1
answer163
viewsIs it possible to request HTTP(POST, GET...) with android for any domain?
I have a back-end with PHP with URLS that return data to my front-end with Angular. It works normally because they are on the same domain. In the case of an android app that is outside the domain, I…
-
1
votes0
answers209
viewsProblem with Httpwebresponse. Does not answer
I hope you can help me, I have a problem when I try to see c# make a request on my server ( the request is slow, takes about 10 minutes to be processed and returned ) For quick requests everything…
-
1
votes1
answer125
viewsJsonobjectrequest does not enter onResponse()
I’m doing a home automation project with Android and Arduino and I have this snippet of code in my class whose purpose is to consult the values of Webservice in Json. But every time I call this…
-
1
votes0
answers64
viewsChange Request Headers to WS protocol
I have an app Ionic using an API Ruby on Rails. To authenticate, I am using Gems Devise and tiddle where I pass via the Angularjs X-USER-EMAIL and X-USER-TOKEN in the Request Header Have a part of…
-
1
votes1
answer1100
viewshow to convert a request. String parameter to integer
In a program I have to do I arose this difficulty Familia.setSalariodoPai(request.getParameter("salariodoPai")); but this request is returning a String and I would need Integer .Bs that stretch is…
-
1
votes1
answer569
viewsCall to a Rest Webservice with a Post Request
I wanted to make on Android, a call to a Rest WCF Webservice, through POST orders. In C# I can, sending the post, url and the body param. But in the Android, whenever I send a parameter, the…
-
1
votes1
answer222
viewsMultiple Keys/values in a javascript array
in certain part of my code I need to make a request using javascript with several equal ids. The problem is that it is overwriting the ids with the last selected. My Html: <button class="btn…
-
1
votes0
answers24
viewsReceive Text content from another page
I am involved in a project and at the moment I need to receive content from a page (in this case, this: http://150.165.202.10/ -> online and working). I try to do it through the code below that…
-
1
votes0
answers31
viewsRequest status after browser close
I have an Asp.Net MVC project and I realized that when I close the browser immediately after the beginning of a request (without waiting for its due ending), it makes somehow the server does not…