This question is not specialized on a specific technique (PHP, ASP or similar). It's a generic question about the HTTP standard. So I don't know if this question is on topic for SO.
Is there a default response code for a illegal or rather unsupported request? For example on my current private page I only use two keys (id and lang) for the GET method. Which status code should I use, when the request contains an unsupported key? Is there a similar status code like 405 (method not allowed)?
I have read the specific RFC. But I'm not sure which status code I should use.