Untitled
Anonymous
Plain Text
01/19/2025 10:52 PM
485 B
11
Indexable
Never
std::cout << "---- Headers ----" << std::endl;
for (const auto& header : req.headers) {
std::cout << header.first << ": " << header.second << std::endl;
}
std::cout << "---- Query Parameters ----" << std::endl;
for (const auto& param : req.params) {
std::cout << param.first << ": " << param.second << std::endl;
}
std::cout << "---- Body ----" << std::endl;
std::cout << req.body << std::endl;Editor is loading...
Leave a Comment