WSO2 Update swagger published API WSO2 Update swagger published API curl curl

WSO2 Update swagger published API


I've observed this error when I hadn't logged in before making a service call. Did you login before sending above curl request? If not, login first like this.

curl -X POST -c cookies http://localhost:9763/publisher/site/blocks/user/login/ajax/login.jag -d 'action=login&username=admin&password=admin' 

This is mentioned at the top of REST API doc.