Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anything that is typed into a browser's address bar is a GET request?

Tags:

http

When I type a url into a brower's address bar is it is always a GET request (meaning, it's definitely not a POST request) right?

like image 551
Shai UI Avatar asked Apr 18 '12 19:04

Shai UI


People also ask

What can go into a browser's address bar?

In a web browser, the address bar (also location bar or URL bar) is a GUI widget that shows the current URL. The user can type a URL into the bar to navigate to a chosen website; in most modern browsers, non-URLs are automatically sent to a search engine.

What is HTTP GET?

An HTTP command used to request a file from a Web server. GET is widely implemented in HTML files (Web pages) for making database queries that do not involve any updating at the server side.

How do I know if browser is asking for request?

There is absolutely no way to know with certainty if a request came from a browser or something else making an HTTP request. The HTTP protocol allows for the client to set the User Agent arbitrarily.

What happens when you type something in the search bar?

You type a URL in your browser and press Enter. Browser looks up IP address for the domain. Browser initiates TCP connection with the server. Browser sends the HTTP request to the server.


1 Answers

Yes.


like image 199
Greg Hewgill Avatar answered Sep 25 '22 02:09

Greg Hewgill