Top "Http-status-codes" questions

HTTP status codes are a set of standardized codes returned in an HTTP web response.

Ruby-on-Rails: How to get rid of "you are being redirected" page

I am overriding Devise's failure response so that I can set a 401 status code. However, when the user fails to …

ruby-on-rails redirect devise http-status-codes http-status-code-401
HTTP POST response Location header when creating multiple resources

The HTTP/1.1 standard states that if a POST operation results in the creation of a resource, then the response should …

rest http http-status-codes restful-url restful-architecture
Extract statusCode from json response in Laravel

Working in Laravel 5.4 After deleting an image (in my ImageRepository) I send a Json response back to my Controller (where …

laravel-5 http-status-codes jsonresponse
How to undo a 301 redirect?

Now, I don't have any problems with 301 redirects, but one person asked me for the way to undo cached 301 redirects …

browser redirect search-engine http-status-code-301 http-status-codes
How to Retrieve HTTP Status Code with Guzzle?

New to Guzzle/Http. I have a API rest url login that answer with 401 code if not authorized, or 400 if …

guzzle http-status-codes guzzle6
Rails render head vs. status

What's the difference between render head :ok vs. render status :ok in Rails? They both get returned as the header …

ruby-on-rails render http-status-codes
Should I return a 401 or a 405 response code to a REST API user without sufficient access?

I'm developing an API which will also have an authentication/authorization component. Anybody, regardless of authentication status, will be able …

api http rest httpresponse http-status-codes
QtWebkit: How to check HTTP status code?

I'm writing a thumbnail generator as per an example in the QtWebkit documentation. I would like to avoid screenshots of …

qt http-status-codes qtwebkit
PHP Get Content of HTTP 400 Response

I am using PHP with the Amazon Payments web service. I'm having problems with some of my requests. Amazon is …

php curl http-status-codes file-get-contents
Most appropriate HTTP status code for "job in progress"

What is the most appropriate HTTP status code to give to a client to mean "your request is fine, but …

http rest response httpresponse http-status-codes