How to get the crumb of jenkins

I am now working on the secondary development of jenkins. I need to create a credentials, when adding a slave node in jenkins, but I need to provide crumb, when creating it through a http request. Do you know how to get crumb? Try curl-s" http://user:token@jenkins_server:8080/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)" this method is not successful, do you know any other methods? Thank you

Mar.02,2021
Menu