Response code of custom endpoints

This topic contains 1 voice and has 0 replies.

  • 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.

©2019 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?