HTTP Body Data

Hi Team,
I am passing my login credentials in the body as a static value, how can i pass any variable in HTTP activity under the body instead of static values, please help
I am passing now as below

Instead of passing values directly can i pass a variable instead of static values

give a try on following:
String.Format(“{”“username”":"“{0}”","“password”":"“{1}"”}",usrVar, pwdVar)

usrVar, pwdVar are variables of Datatype String holding the corresponding values

1 Like