Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Sending Compressed Request from Browser to API server

  • Akukho zimpendulo
  • 0 zinale nkinga
  • 3 views
more options

Hi developers, I wanted to send compressed requests (i.e raw JSON to Gzip) from firefox browser to API server which can understand both compressed and un-compressed requests. For same, I am setting up content-encoding header as gzip, will the browser automatically compress the raw requests just by adding the content-encoding request header or do I need to manually compress the requests using some code snippet ?

Hi developers, I wanted to send compressed requests (i.e raw JSON to Gzip) from firefox browser to API server which can understand both compressed and un-compressed requests. For same, I am setting up content-encoding header as gzip, will the browser automatically compress the raw requests just by adding the content-encoding request header or do I need to manually compress the requests using some code snippet ?

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.