3 days without understanding what is happening. I do an update-sql via php script. In the GoT Text event of the web component, where I do UPDATE-SQL, I do “If response.code = 200”, I show an OK message. Json returns 500 but the bank is updated. The response.content returns nothing, but should inside PHP have an “IF …” and fill in a variable to be returned in JSON. But when you do the update, returns 500 and does not fill this variable. The “IF” in PHP is being ignored.
Excuse me, it was something in the PHP script.