This commit is contained in:
aozhiwei 2019-01-12 17:58:04 +08:00
parent 088c2dfdc0
commit 18133846b6

View File

@ -136,14 +136,16 @@ namespace f8
case 1: case 1:
{ {
ret = a8::http::Get(finally_url, response, &node->headers, 10); ret = a8::http::Get(finally_url, response, &node->headers, 10);
}; break;
}
case 2: case 2:
{ {
ret = a8::http::Post(finally_url.c_str(), node->content, response, &node->headers, 10); ret = a8::http::Post(finally_url.c_str(), node->content, response, &node->headers, 10);
break;
} }
default: default:
{ {
break;
} }
} }
if (ret) { if (ret) {