I am trying to access a JSON API by using a HTTPCaller and I am struggling with passing an array object as a Query String Parameter. The documentation for the 'extra' key I am trying to access looks like this.
The code sample they give where you can see the 'extra' parameter as an array is here:
{
"key": "xxxxx-xxxxx-xxxxx-xxxxx",
"query": "High Street",
"country": "gbr",
"id": "town=Maidenhead",
"extra": {
"exclude_areas":
"gbr_channel_islands",
"gbr_northern_ireland",
"usa_non_contiguous"
],
"exclude_pobox": true,
"best_match_only": true,
"no_groupings": true
}
}
How do I go about adding the extra array as a query string parameter when the API is expecting to be given an array?
many thanks in advance