QuestionQ32

Rest API

Which two statements regarding Junos REST API calls are correct?

Choose two
  • A Authentication is required when using cURL for REST API calls.
  • B Authentication is optional when using Web browser for REST API calls.
  • C REST API query results can be returned in XML and YAML.
  • D REST API query results can be returned in HTML or JSON.
Explanation

The Junos REST API requires HTTP Basic Authentication for every request, including requests made with cURL. REST API responses support XML, JSON, plain text, and HTML output formats; YAML is not a supported response format.

Learn more

Community Discussion

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