Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How can we send response of one scripted rest api to another scripted rest api

Lakshmi Meghana
Kilo Contributor

I have created a Scripted Rest API which generates a response, how to send the response to another Scripted Rest API

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

Hi,

Scripted REST API would return the response to the external application which has consumed the ServiceNow Endpoint.

you can consume API and send that response as request body

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Hi,

you can use REST Message to consume the API

RESTMessageV2 - Scoped, Global

Scripting outbound REST

regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader