Compression

The compression algorithms brotli and gzip are supported.
If you are performing the API requests using SDK or MQL, compression will be enabled by default.
Otherwise, ensure to specify what compression you want to use using header.
curl -H "accept-encoding: br,gzip" -I -X GET \
https://api.microlink.io/?url=https://www.reddit.com \
| grep -i "content-encoding"
You can check what compression algorithm has been used after the HTTP negotiation seeing content-encoding response header.

Compression

The compression algorithms brotli and gzip are supported.
If you are performing the API requests using SDK or MQL, compression will be enabled by default.
Otherwise, ensure to specify what compression you want to use using header.
curl -H "accept-encoding: br,gzip" -I -X GET \
https://api.microlink.io/?url=https://www.reddit.com \
| grep -i "content-encoding"
You can check what compression algorithm has been used after the HTTP negotiation seeing content-encoding response header.

By using this website you agree to ourprivacy.