{
timer t;
std::cout << "create collection ... " << std::flush;
VPackBuilder builder;
builder.openObject();
builder.add("name" , VPackValue("blogpost"));
builder.close();
auto request = f::createRequest(f::RestVerb::Post, "/_api/collection"s);
request->addVPack(builder.slice());
auto result = connection->sendRequest(std::move(request));
std::cout << "done" << std::endl;
}
I test sample of fuerte:
I don't know how to remove whole collection by fuerte nor by web http://127.0.0.1:8529 nor by AQL