Using Curl
Here is an simple example about to send json message with a cookie.curl -X POST -d @input2.json --cookie "portalOpenSSOToken=sso-token-1" --header "Content-Type: application/json" http://localhost:8080/caweb/api/seatRevenueByAgency
curl -X POST -d @input2.json --cookie "portalOpenSSOToken=sso-token-1" --header "Content-Type: application/json" http://localhost:8080/caweb/api/seatRevenueByAgency
Anypoint Studio 7.9 has a bug. Even if we following the article: https://help.mulesoft.com/s/article/The-project-is-missing-MUnit-libraries-...
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks, nice tips
ReplyDeletehow can i mimic this in my code. i want to send and receive cookie. otherwise server is not authenticating me.
ReplyDeleteworkd well
ReplyDelete