Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged koa

0 votes
1.1k views
1 answer
    如题: 场景1:/getUser 接口请求的方式:post 但是用 get请求的时候直接 Not Found 有没有好的方法、方式 可以捕获到 然后提示 请求方式的问题?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    如题: 场景1:/getUser 接口请求的方式:post 但是用 get请求的时候直接 Not Found 有没有好的方法、方式 可以捕获到 然后提示 请求方式的问题?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
3.3k views
1 answer
    app.use((ctx, next) => { if (ctx.path.indexOf('favicon') > -1) { return; } console.log(3) ctx.body = 'hellow' next() // 注意这个 ... 返回的是zjphaha,没有ctt呢?如果第一个中间件加上async/await 的话就是期待的结果,...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...