Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <a href="http://en.wikipedia.org/wiki/Windows_Communication_Foundation" rel="noreferrer">WCF API</a> in .NET handles missing parameters by returning an <code>HTTP 404</code> "Endpoint Not Found" error, when using the <a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.webhttpbinding.aspx" rel="noreferrer">webHttpBinding</a>. </p> <p>The <code>404 Not Found</code> can make sense if you consider your web service method name together with its parameter signature. That is, if you expose a web service method <code>LoginUser(string, string)</code> and you request <code>LoginUser(string)</code>, the latter is not found.</p> <p>Basically this would mean that the web service method you are calling, together with the parameter signature you specified, cannot be found. </p> <blockquote> <p>10.4.5 404 Not Found</p> <p>The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.</p> </blockquote> <p>The <code>400 Bad Request</code>, as <a href="https://stackoverflow.com/questions/3050518/what-http-status-response-code-should-i-use-if-the-request-is-missing-a-required/3050561#3050561">Gert suggested</a>, remains a valid response code, but I think it is normally used to indicate lower-level problems. It could easily be interpreted as a malformed HTTP request, maybe missing or invalid HTTP headers, or similar.</p> <blockquote> <p>10.4.1 400 Bad Request</p> <p>The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload