QuestionQ21

Rest API

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

Choose two
  • A It is a tool to issue XML RPCs within a REST API call.
  • B It is a Juniper Web UI tool.
  • C It is a tool that uses a NETCONF connection to get REST API data.
  • D It is an open source tool.
Explanation

The Junos REST API Explorer is a browser-based graphical interface provided by Juniper as part of the Junos REST API feature (enabled with the 'enable-explorer' statement under [edit system services rest] and accessed via a web browser at the device's REST API URL). It lets users construct and submit RPC calls—choosing the HTTP method, RPC URL, and output format (XML/JSON/plain text)—effectively issuing XML RPCs wrapped inside a REST API call, and displays the resulting request, response, and equivalent cURL command. Being accessed through a browser and delivered by Juniper as part of Junos OS, it is a Juniper Web UI tool. It is not open source, and it does not rely on a separate NETCONF connection to retrieve REST API data; the REST daemon internally maps the HTTP request to an RPC without the Explorer establishing a NETCONF session.

Learn more

Community Discussion

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