REST endpoint HttpResponseCode problem

  • 1 February 2023
  • 0 replies
  • 22 views

Badge +4

Hi All,

 

REST service instance has a settings “Break on error” and the documentation said

When True displays an error dialog if calling the service results in a non-success response. When False no error is displayed. In either case the HttpResponseCode return property contains any errors.

We have to use with false because business errors comes other than 200 response code. The problem is, if the result is other then 200 the HttpResponseCode always 0.

It seems to be a bug or the documentation is not valid.

Do you have any suggestions?

Thanks

Laszlo


0 replies

Be the first to reply!

Reply