Server Model is ASP. DB is MySQL. Hosted on AWS.
Wappler v2.9.1
Server Action Setup
API Call Body:
{
“A”: “{{$_GET.a}}”,
“B”: “{{$_GET.b}}”,
“C”: “{{$_GET.c}}”,
“D”: “{{$_GET.d}}”,
“E”: “0”,
“F”: “{{$_GET.f}}”
}
API Query Params:
“wf”: “ab_Test”
API Headers:
“headers”: {
“X-Tok”: “{{$_SESSION.tok}}”,
“X-Sou”: “web”,
“X-A”: “{{$_GET.a}}”
}
GET URL called from browser (server connect):
https://name.domain/dmxConnect/api/App/updateAction.aspx?a=558855&b=0456123789&c=blabla%40hotmail.com&d=&f=8877
This GET called the Server Action with following header:
{
“A”: null,
“B”: “0456123789”,
“C”: “blabla@hotmail.com”,
“D”: “”,
“E”: “0”,
“F”: “8877”,
“RequestDetail”: {
“Accept”: “application/json”,
“Accept-Encoding”: “gzip”,
“Expect”: “100-continue”,
“Host”: “name.domain”,
“User-Agent”: “ServerConnect/1.0”,
“X-Tok”: “45d64874-6e52-45df-52ce-d948fd23ecb1”,
“X-Sou”: “web”,
“X-A”: “558855”,
“wf”: “ab_Test”
}
}
incoming API call body is logged by us in the DB.
PROBLEM:
$_GET.a is the param in both body and in the header.
but it seems that Wappler replaced the value in header properly but not in the body.
in another variation of similar problem, the value passedfrom website GET URL was “1” but in the API call, server action replaced it with “.” (a full stop)
We see that these problems happen about once every 10000 server action calls.
These have happened multiple times to us. Our scale has grown enough now for us to be worried!
please let us know if you need some more info on this to resolve. thank you.
key and values names are masked for privacy reasons. the structure is untouched.