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"  

Using Postman

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

Install JSON Plugin In Anypoint Studio

Introduction JSON Plugin is very useful tool for editing and verifying JSON schemas or json examples data in our API deployment. Unfortunat...