I'm currently working on a simple test to try and use an external website to store information. The website is DreamLO and it basically uses links to add users to sites.
For example, in the basic example given in the site:
http://dreamlo.com/lb/UtF8xYVT00S9vI9hdyVFyAfxdpaVM_W0uWQhajd4zCNA/add/Carmine/100
That link would add a user called Carmine to the database with a score of 100. The names and scores can be swapped out and still work.
If you would like to click on the above link to see how it would work, I will let you all access the scoreboard (it is free to make a scoreboard and you can have an infinite amount) so that you can see how to above link can affect it.
http://dreamlo.com/lb/UtF8xYVT00S9vI9hdyVFyAfxdpaVM_W0uWQhajd4zCNA
So what I want to do is let the user open the add link without opening it in a browser. So I don't want it to open with OS.Shell_Open ()
I've been trying to use the http request and http client, but I don't think that is what I should be using.
I would greatly appreciate it if you could help, as I wanted to do a tutorial on using dreamlo with the godot engine instead of unity where it is commonly used, but it appears I'm the one who needs help.
Thanks in a advance!
EDIT: Apparently I have to use HTTP Request. I need some basic HTTP Request help.
BTW: this is the code I am using to attempt to open the website. I feel like it is incorrect.
const addUserURL = "http://dreamlo.com/lb/UtF8xYVT00S9vI9hdyVFyAfxdpaVM_W0uWQhajd4zCNA"
func _ready():
testRequest ()
pass
func testRequest ():
var client = HTTPRequest.new()
client.request (addUserURL + "/add/TEST/10")