Hi, everyone,
I want to ask an question about the objective C. What is "content-type" in the NSMutableURLRequest? Is it related to the header field as I see the forHTTPHeaderField?
Also, what is the different between the following statement?
// statement 1
[request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];
// statement 2
[request setValue:@"text/html; charset=UTF-8" forHTTPHeaderField:@"Content-Type"];
Thank you very much.