1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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"
}
}
]
}
}
}
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa
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.