Skip to content

get_params()

get_params() is a macro for getting params from request. It runs get_req() function under the hood.

#include "ecewo.h"
void hello_world(Req *req, Res *res)
{
const char *slug = get_params("slug");
}