How to configure "Content-Type: application/x-www-form-urlencoded" Rest Message in Form and Script

Meloper
Kilo Sage

I have only a Curl command which i need to rebuild wih ServiceNow:

 

- curl --location --request POST 'https://abc/api/auth/token' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'username=testuser' --data-urlencode 'password=PASS'

 

 

How can i do this in the ServiceNow Rest Message Form and via Script?

0 REPLIES 0