首页天道酬勤前端get和post的区别,axios发送post请求带参数

前端get和post的区别,axios发送post请求带参数

admin 05-06 06:39 195次浏览

获取请求:

axios (URL : (http://localhost :9090/API/image/)、method : (get )、params: params } ) )开机自检请求:

axios (URL : (http://localhost :9090/API/image/',method: ) post )、data: params,} )的区别有两点。

1 :获取请求的参数为params,开机自检请求的参数为data。

2 ) get请求的参数在请求发送时连接在url之后,post的参数被再次请求主体。

对比分析php中Cookie与Session的异同
get和post传参的区别,php请求url php header跳转,phpcurlpost请求
相关内容