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

  • No replies
  • 0 have this problem
  • 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 ?

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.