You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I want to write the parameters of this link into a variable. I mean those 3 parameters, which are grant_type, username and password should be sent as a variable.
I tried to convert it to a variable but it didn't work when I put the variable into the post method.
My variable looks like;
const x = {
grant_type:'password',
username:'demo',
password:'12345'
}
I have a link like;
and I want to write the parameters of this link into a variable. I mean those 3 parameters, which are grant_type, username and password should be sent as a variable.
I tried to convert it to a variable but it didn't work when I put the variable into the post method.
My variable looks like;
My post method;
When I write the code below, it works but when I write the code above it doesn't.
Could you tell me how to send those parameters as a variable?
The text was updated successfully, but these errors were encountered: