Response code of custom endpoints

This topic has 0 replies, 1 voice, and was last updated 3 years, 9 months ago by jo_tellier.

  • Author
    Posts
  • #24827
     jo_tellier
    Participant

    Hello,

    It seems that when there are no errors, IDM’s custom endpoint always return a 201 HTTP response.

    I would like to send a 200 in certain situation. Is there an way to do that?

    I could always do a

    throw { code : 200 }

    but I’m looking for a cleaner solution.

    Thanks.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?