I'm using the method described in
http://rundeck.org/docs/api/index.html#running-a-job.
Here is a sample of what I'm trying to run
wget -O- "
http://my-rundeck-host:4440/api/1/job/my-rundeck-job-id/run?
authtoken=my-auth-token&loglevel=DEBUG&tags=dq3+slave
+search&argString=-BLD_JOB_NAME FULL-Search-trunk -BLD_NUMBER 13 -
DEPLOY_SOLR no -ENV dq3"
But, I get
HTTP request sent, awaiting response... 403 Forbidden
2011-10-27 11:04:32 ERROR 403: Forbidden.
If I use curl I try:
curl --data-urlencode 'argString=-BLD_JOB_NAME FULL-Search-trunk -
BLD_NUMBER 13 -DEPLOY_SOLR no -ENV dq3' "
http://my-rundeck-host:4440/
api/1/job/my-rundeck-job-id/run?authtoken=my-rundeck-token"
I get something like:
curl: (6) Could not resolve host: FULL-Search-trunk; No data record of
requested type
curl: (6) Could not resolve host: 13; No data record of requested type
curl: (6) Could not resolve host: no; No data record of requested type
curl: (6) Could not resolve host: dq3'; No data record of requested
type
<result error='true' apiversion='2'><error
code='unauthorized'><message>my-rundeck-user is not authorized fo
r: /api/1/job/my-rundeck-job-id/run</message></error></result>