GET請(qǐng)求:
curl -X GET --header'Accept: application/json''http://XXX?phone=XXX&content=XXX'
POST請(qǐng)求:
curl -X POST --header'Content-Type: application/json'--header'Accept: application/json'-d'{"phone":"XXX","content":"XXX"}''http://XXX'
GET請(qǐng)求:
curl -X GET --header'Accept: application/json''http://XXX?phone=XXX&content=XXX'
POST請(qǐng)求:
curl -X POST --header'Content-Type: application/json'--header'Accept: application/json'-d'{"phone":"XXX","content":"XXX"}''http://XXX'