This package provides utilities for encoding and formatting URL query parameters.
npm install @apimatic/http-queryThis package provides utilities for encoding and formatting URL query parameters.
The exported functions include:
* Array Prefix Formats: Support for indexed, unindexed, plain, comma, tab, and pipe-separated array formats.
* Complex Object Serialization: Handles deep object structures and nested arrays in query parameter encoding.
* File Wrapper Integration: Automatically detects and processes FileWrapper instances in query parameters.
* URL Encoding: Performs proper URL encoding with customizable prefix formats for arrays.
This library is used by JavaScript SDKs generated by the APIMatic Code Generator. For details on supported platforms and build artifacts, see the Build and Usage Section.