Hello,
I purchased a board which has the code written in Processing, I want to use GET Method to upload data using URL to my server, but the board has only post request following code:
Could you please help me to transform into GET Method?
Thanks!
int thingSpeakPostTime = millis() + 10000;
void updateMQTT()
{
if(millis() > thingSpeakPostTime)
{
PostRequest post = new PostRequest("https://DOMAIN/api/api_loc.php?imei=X&dt=X&lat=X&lng=X&altitude=X&angle=X&speed=X&loc_valid=1");
post.send();
println("Reponse Content: " + post.getContent());
println(post);
}
}