what i did is make php parameterized and send actionid from app using web component.
it’s more clean on kodular code, and avoiding send the queries over the net.
dont forget using https
and in my case, before i send the string over the net, I encrypt the string first.