I am working on WSO2 API Manager 2.0.0, I was trying out the Publisher APIs, https://docs.wso2.com/display/AM200/Publisher+APIs
These APIs do not seem to work. I have downloaded, extracted and started API Manager 2.0.0 and was trying the above cURL's and none seems to work.
wso2am-2.0.0\bin>curl -X POST -c cookies http://localhost:9763/publisher/site/blocks/user/login/ajax/login.jag -d "action=login&username=admin&password=admin"
{"error" : false}
I have also tried create APIs cURL, it gives timeout error.
The response you've received for login call is the expected one. Here, a session cookie is saved in a file named
cookies
and it can be used in subsequent requests by giving-b cookies
.However, these are old APIs and will be deprecated soon. I recommend using new REST APIs.