Which display filter shows only HTTP GET requests?

Study for the Wireshark Block 5 Exam. Prepare with flashcards and multiple choice questions, each offering hints and explanations. Ace your exam with the best resources!

Multiple Choice

Which display filter shows only HTTP GET requests?

Explanation:
To show only HTTP GET requests, filter on the HTTP method and compare it to the string "GET": http.request.method == "GET". This works because Wireshark represents the method as a text value in the field http.request.method, with common values like "GET" and "POST". The other options don’t fit: filtering for "POST" shows only POSTs, filtering the URL for "/GET" looks at the path rather than the method and can miss GETs, and comparing the method to a number (1) isn’t valid since the method is a string, not a numeric value.

To show only HTTP GET requests, filter on the HTTP method and compare it to the string "GET": http.request.method == "GET". This works because Wireshark represents the method as a text value in the field http.request.method, with common values like "GET" and "POST". The other options don’t fit: filtering for "POST" shows only POSTs, filtering the URL for "/GET" looks at the path rather than the method and can miss GETs, and comparing the method to a number (1) isn’t valid since the method is a string, not a numeric value.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy