How do I send variables to the server with XMLHTTPRequest? Would I just add them to the end of the URL of the GET request, like ?variable1=?v
XMLHTTPRequest
GET
?variable1=?v
The correct format for passing variables in a GET request is
?variable1=value1&variable2=value2&variable3=value3... ^ ---notice &--- ^
But essentially, you have the right idea.