在 Google 文档中,我需要用分页符字符串替换模式 ($$$newpage)。这可以通过标准页面搜索实现吗?或者我需要以编程方式完成它?
通过express,我们可以使用不同的中间件来处理get和post请求,例如。
// GET method route
app.get('/users', function (req, res) {
// handle get request
})
// POST method route
app.post('/users', auth, function (req, res) {
// handle post request
})
Run Code Online (Sandbox Code Playgroud)
我如何在下一个js中做同样的事情?
我对 next js 完全陌生。我可能只是错过了一些东西。