1、get-带token的方式
curl http://127.0.0.1:8973/api/getSInfo -H 'token:eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjdlOWJkYTAxLTg0YjQtNGUxNy1iMzhmLWYwNmQ5NDMzZmQ0YyJ9.6ebJEGmpfEVvsR5nZ-ptMQffBB6OqaoNEGykZeMZyGAWKb_dZ_vp72hlRrY46K44zdaFvaiKe0N4rQrDepS6kQ'
curl http://127.0.0.1:8973/api/students/info/import -H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjA3ZDExN2E2LWJjZmYtNDdmOS1iMTY3LWE3MTUyZTIzYTZlMyJ9.iMnatDc2E95LimQwTluf2KsUNK1az7g3F3uq_gZ0EAmwloi4FVPEDoGRuJgkUPOfYv4GHlq1xUCVC3mgFmDpmg"
2、post请求
curl localhost:9999/api/daizhige/article -X POST -d "title=comewords&content=articleContent"
curl -H "Content-Type:application/json" -XPOST http://127.0.0.1:10000/loginByAccount -d '{"phoneNum":"13533333333","password":"xxx"}'