Hello,
I am trying to add a jar file in my API Proxy. I selected JAR option and added .jar file to the flow and I am trying to upload that file using the following code but I am getting error. This is what I am doing. if anyone has tried this before please let me know what is wrong?
I am trying:
curl -v "https://api.enterprise.apigee.com/v1/organizations/xxx/apis/api-test/revisions/v1/resourcefiles?name=test.jar&type=java" -u xxx:xxx
but I get this error
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 15.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures}"code" : "messaging.config.beans.RevisionInvalid","message" : "Invalid Revision","contexts" : []"
I also don't know if I need to add a resourcefile which has the jar file details or I should add a Java Call out. Currently I am trying to call this jar file using Java CallOut.
Thanks,
Wilson