QuestionQ20

Implementing Integrations and Services

Under which two scenarios would a developer opt to use JavaScript rather than OpenAPI to implement a REST service?

Choose two
  • A Using MIME type application/JSON.
  • B The OpenAPI definition file contains a security definition where authentication other than basic authentication or API key authentication is used.
  • C The OpenAPI definition file contains a security definition where basic authentication or API key authentication is used.
  • D Using a MIME type other than application/JSON.
  • E Calling a REST service, for which the OpenAPI specification contains objects that have properties.
Explanation

IBM Business Automation Workflow requires JavaScript invocation when an OpenAPI definition specifies an authentication type other than Basic authentication or API-key authentication, and when the REST service uses MIME types outside the supported set. application/json, Basic authentication, and API-key authentication are supported for OpenAPI-based service invocation.

Learn more

Community Discussion

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