Solved

HTTP 201 identified as Error when using REST Sender

  • 19 November 2020
  • 2 replies
  • 167 views

Userlevel 2
Badge +5

Hi All,

When using REST sender, we use POST to create a new resource in the destination system and the response is HTTP 201. But in IFS, it is identified as an error which shouldn't be the case. IFS identifies only 200 as success.

 

 

Is there is any workaround to rectify this issue? Any guidance would be appreciated.

 

Thanks!

icon

Best answer by dsj 19 November 2020, 13:34

View original

This topic has been closed for comments

2 replies

Userlevel 7
Badge +20

Hi @Inisrinip 

By default REST sender only accepts HTTP 200 by default but you can mention other accept codes in the REST sender

Hope it helps!

Damith

Userlevel 2
Badge +5

@dsj Thanks this workaround works!