QuestionQ8

REST API

Which two statements are accurate about the Junos REST API Explorer?

Choose two
  • A The REST API Explorer is enabled by default on all Junos devices.
  • B The REST API Explorer returns data only in XML format.
  • C The REST API Explorer supports both GET and POST calls.
  • D The REST API Explorer supports multiple RPC calls.
Explanation

The REST API Explorer provides GET and POST HTTP-method options. It can test single or multiple RPC calls; POST is required when executing multiple RPCs. Its output is not limited to XML, because it also supports JSON and plain-text output, and the Explorer must be explicitly enabled.

Learn more

Community Discussion

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