Most voted "http" questions
Hypertext Transfer Protocol (HTTP) is a network protocol, application layer of the OSI model, which is used for content transfer on the World Wide Web.
Learn more…465 questions
Sort by count of
-
5
votes2
answers1859
viewsIs there a maximum size limit for an HTML page?
Note: This question is not on code optimization. It is known that browsers have a size limit for a URI. There is some kind of limit for requesting/rendering an HTML file? Giving a simple example,…
-
5
votes1
answer4900
viewsWhen to use the http Patch method?
I did some research on the method PATCH, and saw that it makes partial modifications, but did not understand in practice when to use it and what is its difference to the PUT. I am looking for a…
-
5
votes1
answer469
viewsWhich HTTP methods use payload?
I am doing a monitoring for the services of my company and I need this information to proceed.
-
5
votes1
answer1657
viewsWhat does code 201 of a Request mean?
In research I saw that the code 201 of a Request means : The request was fulfilled and resulted in a new resource being created. But I didn’t really understand the meaning of it. What would be an…
-
5
votes2
answers836
viewsHow to set a header with a JWT token in a request made by the Requests library?
I’m using the library Requests Python to make HTTP requests. I was able to post a request quietly in order to obtain a JWT token. But now I need to send this token through a header, but I have no…
-
5
votes3
answers2856
viewsWhat can cause file_get_contents to give "timeout" error?
I asked that question here, but hardly, because it is a problem that seems to be specific, the solution would be something that would be something generic. But it occurred to me in this question I…
-
5
votes2
answers820
viewsGET, POST or PUT, which one to use to issue a invoice?
Which should I use when the intention is not to view, save or update the data? I’m creating an API that makes the issuance of an electronic invoice, I made the complete CRUD for the information of…
-
5
votes2
answers52
viewsDoubt regarding the https protocol
I am setting up an Apache server in Debian. When accessing https://.../index.php by Chrome , I have the following result: So my doubts are: To appear : I necessarily need a paid certificate, or is…
-
5
votes2
answers767
viewsHow do HTTP response status codes work?
I’m redirecting a user to the root route in case they don’t pass a condition and the slim framework asks for an http status for redirection. With this I did not understand exactly how this process…
-
5
votes1
answer205
viewsHow much does an HTTP request cost?
Client sends a post bodiless to any API post('api.dominio.com') Server returns only 204 status code return res.status(204) Assuming the above situation happens, the client makes a request without…
-
5
votes1
answer584
viewsWhat types of authentications are supported by HTTP?
I intend to delve deeper into authentications that are in the context of HTTP protocol, however, I don’t know their types. Therefore, I would like a brief explanation regarding the authentications…
-
5
votes2
answers151
viewsDoes HTTP/2 need something other than server configuration to work?
I already have HTTP/2 configured on the server, testing by https://tools.keycdn.com/http2-test the result is: HTTP/2 Protocol is supported. ALPN Extension is supported. But looking through the…
-
5
votes1
answer663
viewsWhat would be the best HTTP response to inform the client that it cannot delete a single record?
I have an application where I established the following business rule related to user registration: The user may have multiple addresses linked to him, but it is mandatory that he has at least one…
-
4
votes2
answers4463
viewsHow to view a browser’s http request, and the server’s http response
I would like to get this information to study full examples of https protocols with Cookie and Sessions, either through Socket Java, PHP. If possible through the browser itself.
-
4
votes1
answer900
viewsChrome error decoding accents posted via HTTP POST
I have a form that makes an HTTP POST request to update the BD. During the request I noticed that the following message appeared for a field filled with accent in Chrome Dev Tool. For example, the…
-
4
votes1
answer255
viewsDifferences between Rcurl, httr (R) and requests (python) when making a POST
I was wanting to access a page that gets you by clicking "Displays all the above documents" at that link. The company I took is just an example, I have no interest in it. I tried to resolve this…
-
4
votes2
answers621
viewsProblems with $http and ng-repeat Beginner Angularjs $$hashKey
Hello I’m a beginner in Angular and I’m finding it very cool, my problem is this: I have an ng-repeat that works fine when I get the data source of a javascript variable like this: var alertsq = [ {…
-
4
votes1
answer1060
viewsHTTP 500 error using Httpwebrequest
I come here to ask for help regarding Httpwebrequest requests. I need to get the return html of an HTTP 500 (HTTP/1.1 500 Internal Server Error) error. Could someone tell me how it could be done?…
-
4
votes0
answers32
viewsHow can a SSL/TLS protocol protect a website?
It’s a very old question, but I hadn’t stopped to research about, I did a quick search and I didn’t find anything useful to explain: How HTTPS protects a website? The question is fairly simple for…
-
4
votes1
answer2328
viewsError Notice: Trying to get Property of non-object when picking the page title
I have a code that should take the title of the page example "Facebook - sign in or register" only that is giving error in this line $title =…
-
4
votes1
answer115
viewsWhat is the best way to make multiple requests to an API?
I came to ask this question once again thinking that it would be beneficial for the community to have a canonical way of making several http requests to a particular API. More specifically this…
-
4
votes1
answer1455
viewsHTTP and HTTPS redirection with exception
I have a website on http and added a certificate SSL. I need a script via htaccess that redirects the entire site to https (301 redirect), but a single specific page of the site will need to be…
-
4
votes1
answer84
viewsHow to know how much of the content was downloaded in an Ajax request?
I need to do that little animation, like on Youtube, of the progress bar that appears at the top. How do I know how much content has been downloaded, to have a basis for the progress bar? I didn’t…
-
4
votes2
answers212
viewsWeb server in Go apparently is not creating new requests
I am now starting to develop in Go, and I am currently studying Go for Web development, so through examples I started a simple server in Go: package main import ( "fmt" "log" "net/http" "time"…
-
4
votes1
answer16148
views500 | Server Error - Laravel
I created a new project in Laravel with the command laravel new server. I updated the Poser, inside the same, with composer update. However, when accessing the http://localhost:8000/, it returns me…
-
4
votes1
answer1005
viewsHow to use HTTP2 on the Apache server
Today on my server I use HTTP 1.1, if I want to upgrade to version 2 What should I do? I need to install something on the server? Since the syntax is the same as version 1.1, it will not influence…
-
4
votes2
answers4395
viewsPost com x-www-form-urlencoded no Angular
Hello, I have a POST request that is content-type: x-www-form-urlencoded. I need to pass some parameters on my Body, this way: I’m doing this way below to add my parameters on the request body:…
-
4
votes1
answer649
viewsPayment cannot be processed because don’t have Secure Connection.SSL Certificate
I am using Ionic 3 with the plugin of the marketPago and when I will complete the purchase it returns me this error, everything takes into account to be an error caused by the Ionic run on a…
-
3
votes2
answers2905
viewsAutomato for navigation in a Webforms application
Guys, it wasn’t the first time or the last time I had to implement an automatic routine that accesses a website or system created on the Webforms platform to capture information. It has been…
-
3
votes1
answer694
viewsHow to repeat HTTP requests multiple times and simultaneously without delay?
I need a way to send http request’s several times, without change of any request. Currently I have used Charles Proxy - I take the request of an iPhone app and so I can repeat it on my computer.…
-
3
votes3
answers1367
viewsHow to send my login and password via $.ajax
Hello, I have a link where it opens a modal window (as if it were an "Alert") to enter the login and password. I am using jQuery, the $.ajax{} function to be more specific. I would like to know how…
-
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
answer1297
viewsWhat would be "Server Signature" and how to turn it off?
In some tests found that the "server signature was on", I do not know what this is. What is and how can I turn off this "signature"? In security tests conducted recommend that I turn off this…
-
3
votes1
answer754
viewsDifference between Httpclientbuilder.create(). build(), Httpclients.createDefault() and Defaulthttpclient
When creating an HTTP connection using: HttpClientBuilder.create().build(), HttpClients.createDefault() or: DefaultHttpClient. What’s the difference? private static CloseableHttpClient httpClient =…
-
3
votes1
answer1419
viewsAPP Communication with Web Server
I would like to know the best way, in terms of security/performance, to make my mobile/android application communicate with a web server (apache/php, for example) to receive/send data. The idea is…
-
3
votes1
answer896
viewsHow to handle request header with Filter
How to change, remove or add a header of a request in a web application using Filter?
-
3
votes2
answers399
viewsDoubt about HTTP POST
I’m trying to text through a Webservice. To send a single SMS is simple. Just use the URL in this format:…
-
3
votes0
answers670
viewsHow to simulate https at http://localhost?
How can I simulate https in Xampp so that it returns me the url showing if everything is ok or there are security holes in the scripts used?
-
3
votes2
answers4716
viewsHow to force HTTP access (Unsafe)
When accessing https://domain.com or https://www.dominio.com, the below security error is displayed: I do not have SSL certificate and have no need at this time. When trying to force redirect to…
-
3
votes1
answer898
viewsPlace local Json in external Json $http Angular / Ionic
I want to pull this Json data from the Service by an External Json via $http. I found several examples plus they are not returning result to me. .service('ProdutosService', function($q) { return {…
-
3
votes2
answers793
viewsWhat HTTP methods can a Crawler not track?
A conceptual doubt (or not): Of the HTTP methods, which of them cannot be "tracked" - or interpreted - by a Crawler? POST GET PUT PATCH DELETE Someone with knowledge on the subject can answer us?…
-
3
votes2
answers344
views$Http Which one should I use?
The $http has two examples. I would like you to help me because I don’t know which is the most useful There is the : var chamada = function () { return $http.get('https:url/exemplo.json')…
-
3
votes1
answer257
viewsURL with uppercase letters
Is there any problem naming pages with high-box ? ex: http://exemplo.com.br/Minha-Pagina.php
-
3
votes2
answers1052
viewsHow to set a timeout for a request?
I’m making a requisition JSONP for a webservice. But sometimes the request takes too long. As I am showing the user a loading status, I would like to abort the request if it is more than 10 seconds.…
-
3
votes3
answers135
viewsWhen we include a script or CSS file in the HTML document, does an HTTP request occur?
For example: <script src="file.js" > </script> or <link rel="stylesheet" href="style.css" > Doubt: When we do this, it occurs request HTTP? It would be more performative if I…
-
3
votes1
answer1674
viewsComparison between FTP and HTTP for file transfer
An issue that puzzles me is about transferring binary files over the internet. I have experience in using FTP, which eventually went through firewall issues on clients. Another issue advocated by…
-
3
votes2
answers1376
viewsRedirect HTTP post url to HTTPS on Nginx
I have an application that I receive POSTS of return of the payment system, but currently we force the use of SSL for our site, I made the HTTP redirection to HTTPS, but I get error 404 when the…
-
3
votes1
answer1168
viewsHow to pass headers on request with Vue.js 2
I need to pass the header Authorization which is located in the localStorage with the key to iflix-user-token, here is my code: getFilmes: function () { this.$http.get(Api.url + '/filme').then(…
-
3
votes0
answers418
viewsWhy is PHP’s CURL so slow? compared to wget/Browse?
I’ve been working with the CURL of PHP 5.6, it is extremely slow with respect to other resources like wget/browse/file_get_contents. In a REQUEST POST simple, it has delay of 4-10 seconds compared…
-
3
votes1
answer93
viewsI changed the address of the http page to https and now it’s giving error
I switched from http to https the address of this site here http: http://akauasilva.adv.br/ , did this in the wordpress settings area.. And now the site is forwarded to the hostagor error page. What…