Hi.

I can start a build with parameters just fine using a GET request
similar to

    
http://<host>:<port>/job/<myjob>/buildWithParameters?param1=value1&param2=value2

And that gets me an HTML page as a response.  Is there a way to get
JSON / XML back instead?  I've tried

    
http://<host>:<port>/job/<myjob>/buildWithParameters/api/json?param1=value1&param2=value2

(and also .../api/xml?...) but I get a "too many redirects" error
(e.g., "Firefox has detected that the server is redirecting the
request for this address in a way that will never complete")

What is the proper way to format the URL so that it in fact returns,
say, JSON?  Thanks in advance!


Julian Cardona

Reply via email to