Curl to ServiceNow calls

SM16
Tera Expert

Hi Team,

 

How can I call below API which is in curl from ServiceNow flow or business rule ?

 

curl -X POST \
  https://outscan.outpost24.com/opi/rest/auth/login \
  -d 'username=your_username' \
  -d 'password=your_password'

 

2 REPLIES 2

Community Alums
Not applicable

Hi @SM16 ,

You can refer to this link :https://devqa.io/curl-sending-api-requests/

 

Can you help me to know how you call the given curl API from RESTAPI BR or flow?