# How to include list parameters in http-api?

**URL:** <https://community.neo4j.com/t/how-to-include-list-parameters-in-http-api/25925>\
**Category:** Drivers & Stacks\
**Tags:** http\
**Created:** [September 24, 2020, 10:47pm UTC](https://community.neo4j.com/t/how-to-include-list-parameters-in-http-api/25925 "2020-09-24T22:47:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielkmke1c](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/danielkmke1c/32/4441_2.png) [@danielkmke1c](https://community.neo4j.com/u/danielkmke1c)\
**Post date:** [September 24, 2020, 10:47pm UTC](https://community.neo4j.com/t/how-to-include-list-parameters-in-http-api/25925/1 "2020-09-24T22:47:56Z")

</div>

Hello, reading the docs: [https://neo4j.com/docs/http-api/current/actions/query-result/](https://neo4j.com/docs/http-api/current/actions/query-result/) suggest that the JSON array type is supported by the http-api. But when I try this, I get the error "Type mismatch for parameter 'gparams': expected List but was String"

```auto
{
    "statements": [
        {
            "statement": "MATCH (s:SLabel)-[]-(g:GLabel) WHERE s.name IN $gparams WITH s, g MATCH (g)-[:HAS_BLAH]-(t:TLabel)-[:HAS_PARENT*0..2]->(p) where p.id in $moreparams ...",
            "parameters": {
                "gparams": ["foo"],
                "moreparams": ["bar", "nut"]
            }
        }
    ]
}

```

I believe everything looks correct. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![jggomez](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jggomez/32/7793_2.png) [@jggomez](https://community.neo4j.com/u/jggomez)\
**Post date:** [September 27, 2020, 5:27pm UTC](https://community.neo4j.com/t/how-to-include-list-parameters-in-http-api/25925/2 "2020-09-27T17:27:45Z")

</div>

Hi, Could you try with the attribute props?

Thanks
