Hi Guys, I'm invoking the API Manager 1.7 publisher API in the following way to publish an API, the problem is the API is getting created with resource method as GET though I have specified GET,PUT,POST,DELETE,OPTIONS. Please Advice.
---- curl -X POST -c cookies http://localhost:9763/publisher/site/blocks/user/login/ajax/login.jag -d "action=login&username=provider1&password=provider1"; curl -X POST -b cookies http://localhost:9763/publisher/site/blocks/item-add/ajax/add.jag -d "action=addAPI&name=EchoServiceLatest&visibility=public&version=1.0.0&description=test databases&endpointType=nonsecured&http_checked=http&https_checked=https&wsdl=&tags=echoservicenewlatest,echo&tier=Silver&thumbUrl= https://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png&context=/echoservicenlatest&tiersCollection=Gold&resourceCount=0&resourceMethod-0= *GET,PUT,POST,DELETE,OPTIONS*&resourceMethodAuthType-0=Application&resourceMethodThrottlingTier-0=Unlimited&uriTemplate-0=/*" -d'endpoint_config={"production_endpoints":{"url":" http://localhost:9773/services/echo/echoString ","config":null},"endpoint_type":"http"}'; curl -X POST -b cookies http://localhost:9763/publisher/site/blocks/life-cycles/ajax/life-cycles.jag -d "name=EchoServiceLatest&version=1.0.0&provider=provider1&status=PUBLISHED&publishToGateway=true&action=updateStatus"; Regards, Dumidu -- *Dumidu Handakumbura* Software Engineer - QA WSO2 Inc; http://www.wso2.com/. Mobile; *+94777706740 *
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
