How do you do a 400 Bad Request?

I found an easy way to generate 400 Bad Request Error: Appending /% at the end of the URL should work for most websites…To create a request that forces the server to return a 400 error, you can:

  1. Open a TCP connection to port 80 on your server.
  2. Send junk.
  3. Observe response.

For More Information Please Refer: