1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi, @Andy Douglas.
Does it work if you enclose the elements of the array in {}
as follows?
"Events": {
"AreaGet": {
"Type": "Api",
"Properties": {
"Path": "/",
"Method": "GET",
"RequestParameters": [
{
"method.request.querystring.latlonl": {
"Required": "true"
}
},
{
"method.request.querystring.latlonr": {
"Required": "true"
}
}
]
}
}
}
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a 6 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
Ah that's it! Thank you. Rather annoyingly, that works!
I say annoyingly, because I'm sure I tried that (?) but also because visual studio hates it - it's all in red, and vs2022 is pretty good at these things usually. I guess the problem was me not really knowing JSON or YAML properly and how to translate between them - I thought I did, but maybe not. Examples using JSON in the docs would be very welcome though.
Thanks again - I can move forward now. Andy.