For an highlevel introduction to the Unleash-proxy, please read this short article The Unleash-Proxy

The Unleash-proxy consist of the proxy that exposes a simple API for the client.

The Proxy-client

There is a js implentation of the proxy-client available. 
Find it here: https://github.com/unleash-hosted/unleash-proxy-client-js

The Proxy API

When accessing the Proxy, “context-fields” from the session context can be added as parameters to the request

https:///proxy?appName=webapp&userId=123&country=NO

The Proxy will return a list of all the active feature toggles, including variants, available. See an example below

{
    “toggles”: [
    {
        “enabled”: true,
        “name”: “SimpleToggle”,
        “variant”: {
            “enabled”: false,
            “name”: “disabled”
        }
    },
    {
        “enabled”: true,
        “name”: “ToggleWithVariant”,
        “variant”: {
            “enabled”: true,
            “name”: “brown”
        }
    },
    {
        “enabled”: true,
        “name”: “ToggleWithVariantAndPayload”,
        “variant”: {
            “enabled”: true,
            “name”: “default”,
            “payload”: {
                “type”: “string”,
                “value”: “Some custom value here!”
            }
        }
    }
    ]
}