Skip to main content
Turns a piece of structured data, such as an object or a list, into a single form URL encoded string, the key=value&key=value format used by web form submissions and many APIs that expect a request body of that shape. Each field becomes a name=value pair joined with &, and characters that are not allowed in a URL, such as spaces and ampersands, are safely encoded. There is nothing to configure on this mapper; point it at the object you want to send.

Sample data

This example formats one object into a form URL encoded string. The spaces in the values become +, and each field becomes its own name=value pair. Input:
{
    "query": {
        "sku": "SCARF-01",
        "name": "Wool scarf",
        "color": "navy blue"
    }
}
Output:
{
    "query": "sku=SCARF-01&name=Wool+scarf&color=navy+blue"
}