Wednesday, October 28, 2015

How Send Cookie Using Postman or Curl

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 

Using Postman

To use postman, we need to install inteceptor. Then you need to turn on the interceptor as shown in the following feature.

Anypoint Studio Error: The project is missing Munit lIbrary to run tests

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-...