-
Bug
-
Resolution: Not A Defect
-
Major
-
None
hi, thanks for update in JENKINS-68283.
using POST method with url http://xxxx:8080/job/jobname/buildwithParameters?
1)i need to choose to body --> raw (then chooose JSON) and in body i need to give below
{"keyname":"valueofkeyname"}
--->
2)we are not supposed to use body -> x-www-form-urlencoded and enter key and values .
is point 1 not possible .?
could you pls share curl command to do same
- duplicates
-
JENKINS-68283 unable to triggers jenkins job using postman with body
-
- Closed
-
Thank you for referring to
JENKINS-62823, as that makes it clearer what you are trying to do. I'll remove the jenkinslint-plugin component from this issue because you are asking about remotely triggering builds, not about anything related to the JenkinsLint plugin.The https://wiki.jenkins.io/display/JENKINS/Remote+access+API page includes two sample curl commands. Alternatively, you could try the Build Authorization Token Root plugin.
Please note that, according to the Jira guidelines, you should post support requests to mailing lists or chat, not to Jira. You can also use the Ask a question category on the forum.