Solved

HTTP 201 identified as Error when using REST Sender

  • 19 November 2020
  • 2 replies
  • 47 views

Badge +2

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

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

View original

2 replies

Userlevel 6
Badge +12

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

Badge +2

@dsj Thanks this workaround works!

Reply