- URL: Extract the base URL (without query parameters)
- Query Parameters: Extract all enabled query parameters
- Request Body: Process the request body content
The signature string is constructed by concatenating the following components with & as separator:
signature_string = URL + "&" + sorted_query_params + "&" + request_body- Use the base URL without query parameters
- Example:
https://api.example.com/v1/orders
- Extract all enabled query parameters
- Sort parameters by key name (alphabetical order)
- Format each parameter as
key=value - Join multiple parameters with
& - Handle null/undefined values as empty strings
Example:
Original parameters: {c: "3", a: "1", b: "2"}
Sorted result: a=1&b=2&c=3- JSON Format: Use JSON string directly
- Null Value Handling: Empty objects
{}or empty strings will be skipped - Type Conversion: Non-string types will be converted to JSON strings