Skip to main content
Solved

HTTP 201 identified as Error when using REST Sender

  • Nov 19, 2020 11:39 AM UTC
  • 2 replies
  • 234 views

Forum|alt.badge.img+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!

Best answer by dsj

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
This topic has been closed for replies.

2 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • Answer
  • Nov 19, 2020 12:34 PM UTC

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


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • Nov 20, 2020 3:34 AM UTC

@dsj Thanks this workaround works!