Refer to the exhibit.
A network engineer makes a RESTCONF API call to Cisco IOS XE to retrieve information. Which HTTP method and URL does the engineer use to make the ..call?
A)
B)
C)
D)
The provided JSON configuration includes information about a GigabitEthernet interface with the name '2'. To retrieve information about this specific interface using a RESTCONF API call, the correct HTTP method and URL must be used.
HTTP Method: The GET method is used to retrieve information from the server.
Correct URL: The URL must specify the path to the particular interface. The correct URL structure includes the native and interface resources, followed by the interface type (GigabitEthernet) and its specific name ('2').
The correct RESTCONF API call to retrieve the information would be:
GET https://devnetlab.local/restconf/api/running/native/interface/GigabitEthernet/2/
This URL correctly targets the specific GigabitEthernet interface named '2' in the running configuration.
Cisco RESTCONF API Documentation: RESTCONF API Guide
Leatha
1 months agoHerminia
4 days agoLeah
7 days agoCristy
19 days agoHershel
1 months agoIzetta
1 months agoAlfred
1 months agoWava
1 months agoParis
22 days agoDanica
23 days agoDevorah
1 months agoJin
1 months agoAsuncion
2 months agoVesta
2 months agoJunita
2 months agoVeronica
2 months ago