Hosting your own TinyWebDB

For those of you suffering the: “communication with the web service encountered a protocol exception”

Try this workaround:
add the set serviceUrl block before the tinywebdb call and ensure you include the correct php file at the end, so storeavalue.php to save and getvalue.php to get. Worked for me.

(sorry it is in AI2 not Kodular)

[EDIT] Also, setting file permission 666 for database.txt / database.json is not great as this is world readable, better to use 600

4 Likes