关于POST请求接口Content-type对应数据格式及接口中对数据的获取
第一种方式:Content-Type: application/x-www-form-urlencodedpost体为:user_id=1&user_source=web&is_new=1接口中获取数据:$_POST['user_id']第二种方式:Content-Type: application/jsonpost体为json:{"user_id":"1","user_sourc...
原创
2018-04-10 11:26:18 ·
4482 阅读 ·
0 评论