curl -s -u <user>:<token> https://jenkins.elaa.io/crumbIssuer/api/json
Sample response
{"_class":"hudson.security.csrf.DefaultCrumbIssuer","crumb":"e60b533c45d396b11f02b496ae456799300a1f280ccfc0c7b4fcbc0d99457887","crumbRequestField":"Jenkins-Crumb"}
value e60b533c45d396b11f02b496ae456799300a1f280ccfc0c7b4fcbc0d99457887
to be passed in header
php deploy.php