I am trying to post to a rest API using data from a form, but this
{
"body": {
"request_name": "create-admin",
"admin_name": {{partner_name_input.value}},
"username": "liam",
"school_name": "Dartmouth College",
"admin_type": "partner"
}
}
and this
{
"body": {
"request_name": "create-admin",
"admin_name": "{{partner_name_input.value}},"
"username": "liam",
"school_name": "Dartmouth College",
"admin_type": "partner"
}
}
both don't work. Why?