AlphaX API Reference Documentation
  • API Introduction
  • General Architecture
  • Authentication
  • Rate Limits
  • HTTP
    • HTTP Headers
    • HTTP Parameters
    • HTTP Compression
    • HTTP Error and Status Codes
    • SSL Requests
    • Sending Data
      • Uplink Data Format V1
      • Uplink Data Format V2
    • Retrieve Data
      • Conduit V4
      • Conduit V6
      • Conduit V7
        • Using Conduit V7
        • Aggregation Features (Optional)
        • Common Issues & Troubleshooting
        • Usage Examples
  • MQTT
    • MQTT Authentication
    • MQTT Broker Address
    • Publishing Data
      • MQTT Publish Format V1
      • MQTT Publish Format V2
Powered by GitBook
On this page

Was this helpful?

  1. HTTP

HTTP Compression

HTTP compression is supported on both incoming and outgoing requests.

Compression is highly recommended where large requests are being submitted. We use the standard HTTP method of specifying compression encoding, with support for the gzip compression schema.

Incoming compression

In order to send compressed data to the AlphaX conduit service it is necessary to send it with gzip encoding. Compress your data using gzip and add the Content-Encoding header to your request:

Content-Encoding: gzip Outgoing compression

To receive data from the AlphaX Conduit service in gzip compressed format simply add the Accept- Encoding header to your request:

Accept-Encoding: gzip

Any response exceeding 1024 bytes will be compressed and the Content-Encoding header added.

PreviousHTTP ParametersNextHTTP Error and Status Codes

Last updated 1 year ago

Was this helpful?