Skip to main content
Solved

HTTP 201 identified as Error when using REST Sender

  • November 19, 2020
  • 2 replies
  • 206 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
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 862 replies
  • Answer
  • November 19, 2020

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)
  • 8 replies
  • November 20, 2020

@dsj Thanks this workaround works!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings