How do i handle a http post request in servicenow?

juan9
Giga Guru

I want to send  a POST request into servicenow.

servicenow should respond with the object =  {bid:500}.

 

 

Is that possible in servicenow?

 

1 ACCEPTED SOLUTION

AnveshKumar M
Tera Sage
Tera Sage

Hi @juan9 ,

ServiceNow offers REST API for the tables out of the box, you can check them using REST Explorer in your instance.

 

Coming to your specific requirement, yes we can do that using Scripted REST API.

You can check the following links for quick help.

 

https://docs.servicenow.com/bundle/utah-application-development/page/integrate/custom-web-services/r... 

 

https://docs.servicenow.com/bundle/utah-application-development/page/integrate/custom-web-services/c... 

 

Thanks,

Anvesh

 

Thanks,
Anvesh

View solution in original post

1 REPLY 1

AnveshKumar M
Tera Sage
Tera Sage

Hi @juan9 ,

ServiceNow offers REST API for the tables out of the box, you can check them using REST Explorer in your instance.

 

Coming to your specific requirement, yes we can do that using Scripted REST API.

You can check the following links for quick help.

 

https://docs.servicenow.com/bundle/utah-application-development/page/integrate/custom-web-services/r... 

 

https://docs.servicenow.com/bundle/utah-application-development/page/integrate/custom-web-services/c... 

 

Thanks,

Anvesh

 

Thanks,
Anvesh