Hi,
I have to post a request with different attributes of Authorization header , header content type and Body part . can anybody try to help out this.
input {
http_poller {
urls => {
request1 => {
method => "post"
headers => {"Content-Type" => "application/json"}
url => "http://localhost/v3/token"
body => '{
"grant_type" : "password",
"username" :"UN1",
"password" : "mypass",
"scope" :"<scope value>"
}'
auth => {
apikey=> "9xx123456"
passwordkey => "paskey"
}
}
}
}
}
Kindly assist , if you are facing same issue.