300-435 · Question #122
300-435 Question #122: Real Exam Question with Answer & Explanation
The correct answer is A: curl -L --request PUT \ -url https://api.meraki.com/api/v1/networks/ENAUTO/split \. This question asks for the correct cURL command to split a Meraki network, identifying the proper HTTP method and URL structure.
Question
Refer to the exhibit. An engineer must split the network with the network ID ENAUTO by using Cisco Meraki APIs. Which code snippet must be added to the box in the code to complete the cURL script? -header 'Content-Type: application/json' \ -header 'Accept: application/json' \ -header ':' \ -header 'X-Cisco-Meraki-API-Key: 6bec40cf957de430a6f1f2012345678a4f4ac9ea0'
Options
- Acurl -L --request PUT \ -url https://api.meraki.com/api/v1/networks/ENAUTO/split \
- Bcurl -L --request POST \ -url https://api.meraki.com/api/v1/networks/ENAUTO/split \
- Ccurl -L --request PUT \ -url https://api.meraki.com/api/v1/networks/split/ENAUTO \
- Dcurl -L --request POST \ -url https://api.meraki.com/api/v1/networks/split/ENAUTO \
Explanation
This question asks for the correct cURL command to split a Meraki network, identifying the proper HTTP method and URL structure.
Common mistakes.
- B. While POST is often used for creating resources or performing actions, the Meraki API specifically uses PUT for the
splitoperation on a network. - C. The URL structure
https://api.meraki.com/api/v1/networks/split/ENAUTOis incorrect; the network ID should precede the/splitendpoint. - D. Both the HTTP method (POST instead of PUT) and the URL structure are incorrect for the Meraki API's network split operation.
Concept tested. Meraki API cURL syntax, HTTP methods, URL
Reference. https://developer.cisco.com/meraki/api-v1/#!split-network
Topics
Community Discussion
No community discussion yet for this question.