HTTP GET (REST) Request with Body

MichaelZischeck
Kilo Sage

I know, HTTP GET is not intended to have a body, and as ServiceNow complies to  standards this is not supported.

The API I am trying to consume however, expects a Body.

 

I need some work around, but I am stuck

 

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi @MichaelZischeck 

the only chance I see at the moment is asking the partner system to use POSt requests.

Maik

View solution in original post

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

Hi @MichaelZischeck 

the only chance I see at the moment is asking the partner system to use POSt requests.

Maik

that's what I believe too... I have asked them already...

Problem: it's kind of an ERP system, many customers, it could effect a lot of instances

 

Hi @MichaelZischeck 

you could give a script approach a try. Never tried it but maybe ServiceNow accepts a request body for GET requests when using the API.

Maik

I know.. i am trying this approach.. however then I will face the next problem: I need to use MID Server, and via REST API I get this for free