{
    "metadata": {
        "cell_type": "zapy:request",
        "v": "1"
    },
    "endpoint": "https://echo.hoppscotch.io/{{var1}}",
    "name": "req",
    "params": [
        {
            "key": "key1",
            "value": "test_key_1",
            "active": true
        },
        {
            "key": "key2",
            "value": "{{var2}}",
            "active": true
        }
    ],
    "headers": [],
    "variables": [
        {
            "key": "var1",
            "value": "\"welcome\"",
            "active": true
        },
        {
            "key": "var2",
            "value": "{{ctx.store.foo}}",
            "active": true
        }
    ],
    "method": "GET",
    "script": [
        "from zapy.ctx import hooks",
        "",
        "@hooks.pre_request",
        "async def pre_request_example(context):",
        "    print(\"pre_request\")",
        "",
        "",
        "@hooks.post_request",
        "async def test_response(context):",
        "    print(\"post_request\")"
    ],
    "body_type": "application/json",
    "body":  [
        "{\n",
            "hola: \"{{var2}}\"\n",
        "}"
    ]
}