Archived
add queryParams
This commit is contained in:
1 parent
129366c087
commit
d4075a6bb5
2 files changed
+23
-3
No files matched your search
@@ -23,6 +23,8 @@ httpServer.add("GET", "/api/user/:userId", (req, rep) => {
|
||||
rep.status(Status.Teapot)
|
||||
.type("application/json");
|
||||
|
||||
console.log(req.queryParams);
|
||||
|
||||
return JSON.stringify(
|
||||
{
|
||||
code: Status.Teapot,
|
||||
|
||||
Reference in new issue
Block a user