老师,rp咱们获取信息默认是get请求,我想知道怎么发送post请求的?
return rp(`http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=${event.start}&count=${event.count}`)
.then(res => {
console.log(res);
return res;
}).catch(err => {
console.log(err)
})
如果是个post请求怎么发?