http-status-codes
Parsing HTTP status codes for interacting with API
I\'m building a script in PHP to interact with an API and need to be able to parse the HTTP status code the API is giving me.For the most part, it gives one of the following responses:[详细]
2023-01-19 18:22 分类:问答How to get the status header for a website programmatically
I am writing a win32 service in Delphi (should be able 开发者_如何学JAVAto translate any other code if you don\'t know delphi) that needs to fetch the status of a website. I know how to do this in .NE[详细]
2023-01-18 04:28 分类:问答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 returning an error as it should, however the way it goes about it is giving me problems.[详细]
2023-01-16 06:55 分类:问答Handling various types of URL redirects
Generally, when writing HTTP client software, the HTTP protocol provides sufficient information for how to handle redirected URLs.Specifically, if an HT开发者_JAVA百科TP request returns a redirect cod[详细]
2023-01-15 03:03 分类:问答System.Net.WebException HTTP status code
Is there an easy way to get the开发者_JAVA百科 HTTP status code from a System.Net.WebException?Maybe something like this...[详细]
2023-01-14 20:50 分类:问答Get description for HTTP status code
In ASP.NET you can set the Response.StatusCode to for example 404. Should the status line / description always be set? (to in this cas开发者_运维技巧e \"404 Page Not Found\")[详细]
2023-01-12 20:16 分类:问答Correct HTTP status code when resource is available but not accessible because of permissions
I am building a RESTful protocol for Dynamic Carpooling applic开发者_StackOverflow中文版ations, for my Computer Science thesis.[详细]
2023-01-12 13:09 分类:问答How to check if a webpage exists. jQuery and/or PHP
I want to be able to validate a form to check if a website/webpage exists. If it returns a 404 error then that definitely shouldn\'t validate. If there is a redirect...I\'m open to s开发者_运维技巧ugg[详细]
2023-01-12 06:56 分类:问答What is the correct status code for a RESTful resource when the request method is allowed, but the action cannot be completed
... due to server-side rules. Specifically, I have comments that nest, and I am forbidding the deletion of comments with children.[详细]
2023-01-10 03:06 分类:问答Which status code should I use for failed validations or invalid duplicates?
I am building an application with a REST-based API and have come to the point where I am specifying status codes for each requests.[详细]
2023-01-08 14:39 分类:问答