QuestionQ1

VerifiedIBM API Connect v10.0.3 Solution Implementation

Which statement is correct about using context variables in GatewayScript policies?

Explanation

The context.message.statusCode property sets the status code and reason phrase of the current message. IBM documents assignments such as context.message.statusCode = "501 Custom Error" to override the HTTP status returned by the API gateway.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!