It seems like what you're trying to do is sending data twice (two datas – first in URL field and another time in Data field).
Try to do like this:
URL: "http://localhost/legacy/save.php"
Data: "L=" & UserLogin & "&S=" & UserPass"
I'm not sure what's the savestats.Text inside the Data field.
Thanks for reply, savestats.Text contains json string that must be inserted into the database.
In other words, the place with $datum, must be provided with the string from savestats.Text