The request.body obtained by the post method in koa2 routing is {}

how to do it and how not to do it. You can add name to the input attribute through the form form. You can"t use postman

Jan.12,2022

Change

to

   

yours is a problem of parameter setting. Do not click Params, and click Body, to select the second way below Body to get the data

.
Menu