Hi all,

I'm using a password-secured Jenkins 2.1 on Windows for a parameterized 
build project with a remote build trigger (and its auth token). I am trying 
to craft a HTTP request for a REST client so I need to know how the request 
must actually be - without curl command-line parameters. If there is a RTFM 
for this matter I constantly failed to find it, please help. 

Here's what I tried so far:
- sending a GET or PUT request with URL encoded parameters, failed 
miserably .../buildWithParameters?token=MY_TOKEN&myparam=VALUE answers 
dryly 403 forbidden (why forbidden?)
- sending a POST request with payload like 
json='{"parameter":[{"myparam":"VALUE"}]}' (or any other payload for that 
matter, stackoverflow has conflicting answers) gives me a 403 "no valid 
crumb...". There seem to be people on the internet which know that some 
".crumb" must be changed but nothing says WHAT that dot-crumb is, who 
generates it, or how should it look like.

I googled in the Wiki a page about a "parameterized remote trigger" which 
may or may not be the one I use above (I know now way to tell for sure, 
update center names are different from Wiki plugin names) but there's no 
plugin with a similar-sounding name available in the update center. I'm so 
very stuck... halp!!!

Many thanks,
Sorin

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/acb32670-3fdd-4a62-94a1-530a666dfa0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to