Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I tell what is the http status code returned by a request to a url?

Tags:

http

Is there a way to tell what code is returned by hitting a url?

I tried to look it up, but all I find is a list of different codes. I'm trying to find out the http status code returned for a number of URLs I'm working with, but I don't know where to even start looking for where to find the status codes.

Any assistance pointing me in the right direction would be a big help.

like image 530
GeekedOut Avatar asked Mar 27 '12 14:03

GeekedOut


People also ask

What status code is returned by a website when the browser request?

Servers return a 500 HTTP status when the browser makes a valid request, but an internal error in the server prevents it from returning the page.

Which HTTP status code is usually returned when the resource was found and returned?

2 201 Created. The request has been fulfilled and resulted in a new resource being created. The newly created resource can be referenced by the URI(s) returned in the entity of the response, with the most specific URI for the resource given by a Location header field.

What is the status code once a HTTP request is responded successfully?

HTTP status codes 404 Responses are generally grouped into five classes: Informational responses (100-199) Successful responses (200-299)


1 Answers

You can use Fiddler or Firebug for this. There are literally hundreds of other tools and pluggings to view raw HTTP info.

For example in Mozilla Firebug you can go to Net and hit F5 (refresh the page) enter image description here

like image 196
oleksii Avatar answered Sep 27 '22 16:09

oleksii