GET Request With Accept-Encoding Header [Curl/Bash Code]

This page shows how to send a GET request with an Accept-Encoding: gzip header, which tells the server to send gzip-encoded content. The Curl/Bash code was automatically generated for the GET Request Accept Encoding Header example.
GET Request With Accept-Encoding Header [Curl/Bash Code] Send
GET /echo/get/json HTTP/1.1
Host: reqbin.com
Accept-Encoding: gzip

Updated: Viewed: 11587 times
Curl/Bash code for GET Request Accept Encoding Header example

Curl/Bash code for GET Request Accept Encoding Header Example

This Curl/Bash code snippet was generated automatically for the GET Request Accept Encoding Header example.
<< Back to the GET Request Accept Encoding Header example

Generate code snippets for Curl/Bash and other programming languages

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