Hi,

I am trying to implement a groovy based plugin that will return custom JSON
data about existing artifacts over a GET request as opposed to POST.  I am
looking for custom JSON data as I plan to integrate a REST API point with
another technology.  Looking at the user plugin examples on GitHub, I was
lead to an "execution" type plugin.  Is there another way to satisfy a REST
request over GET?



Example,  this POST request  works:

[chuck@sdp-centos-63-64-1 artifactory]$ curl    -X POST -u admin:password
"http://localhost:8081/artifactory/api/plugins/execute/rundeck?params=repo=myrepo|groupId=com.bar|artifactId=foo"

{
"foo-1.0":"https://localhost/artifactory/myrepo/com/bar/foo/foo-1.0/foo-1.0.jar";,
"foo-2.0":"https://localhost/artifactory/myrepo/com/bar/foo/foo-2.0/foo-2.0.jar";
}

 but a GET request would not.

Thanks,


Chuck Scott



--
View this message in context: 
http://forums.jfrog.org/artifactory-plugin-over-GET-rather-than-POST-tp7578734.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to