需要引用的头文件是:
#import
#import
#import
#import
#import
#import
#import
//Poco::Net::HTMLForm form;
//form.add("entry1", "value1");
//form.prepareSubmit(request);
s.sendRequest(request);
Poco::Net::HTTPResponse response;
std::istream& rs = s.receiveResponse(response);
std::string responseText;
Poco::StreamCopier copier;
copier.copyToString(rs, responseText);
NSString* strmsg = [NSString stringWithCString:responseText.c_str() encoding:NSUTF8StringEncoding];
NSLog(strmsg);
std::cout << responseText << std::endl;