GET Request With Accept-Encoding Header

This page shows how to send a GET request with an Accept-Encoding: gzip header, which tells the server to send gzip-encoded content.
GET Request With Accept-Encoding Header Send
GET /echo/get/json HTTP/1.1
Host: reqbin.com
Accept-Encoding: gzip

Updated: Viewed: 11907 times

Generate Code Snippets for GET Request Accept Encoding Header Example

Convert your GET Request Accept Encoding Header request to the PHP, JavaScript/AJAX, Curl/Bash, Python, Java, C#/.NET code snippets using the ReqBin code generator.