Use the curl command to simulate the GET / POST method

  1. GET Method
curl $GET_URL
  1. POST Method: args > HEADER
curl -d "args1=xxx&args2=xxx" $POST_URL
  1. POST Method parameters > Body
curl -H "Content-Type:application/json" -X POST --data '{"para1": "xxx", "para2": "xxx"}' $POST_URL