I'm trying to execute a PHP script which increments a field in a database. I have the script working and I am currently modifying the database perfectly using ASIHTTPRequest, but I feel as though I should be using a different method given that I do not need a return.
Is this what's called an HTTP POST?
incrementOrDecrementURL = [[NSString alloc] initWithFormat:@"http://myURL/doScript.php"];
NSURL *requestURL = [[NSURL alloc] initWithString:incrementOrDecrementURL];
//The actual request
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:requestURL];
// Becoming the request delegate
//To get callbacks like requestFinished: or requestFailed:
[request setDelegate:self];
// Start request
[request startAsynchronous];