Using Curl
Here is an simple example about to send json message with a cookie.1 2 3 4 5 | curl -X POST -d @input2.json --cookie "portalOpenSSOToken=sso-token-1" --header "Content-Type: application/json" http: //localhost:8080/caweb/api/seatRevenueByAgency |