import mql from '@microlink/mql' const { data } = await mql('https://github.com/microlinkhq')
Compression
The compression algorithms brotli and gzip are supported.
Otherwise, ensure to specify what compression you want to use using
Accept-Encoding
header.You can check what compression algorithm has been used after the HTTP negotiation seeing
content-encoding
response header.content-type: application/json; charset=utf-8 content-encoding: br x-timestamp: 1750986229308 x-response-time: 51ms x-rate-limit-reset: 1751097111 x-pricing-plan: free x-region: iad x-fetch-mode: fetch x-rate-limit-remaining: 45 x-cache-ttl: 86400000 x-request-id: iad:2af5a47c-d15f-47a7-938e-6551fc81bf9c x-rate-limit-limit: 50 x-cache-status: HIT x-content-type-options: nosniff x-client-ip: 88.20.23.25 x-fetch-time: 305ms