DRAG DROP Drag and drop the code from the bottom onto the where the code is missing to create a host object by using the Cisco Firepower Device Manager API. Not all options are used.
That's the flow Cisco wants for creating a host using the FDM API. You POST to the networks endpoint, set type as networkobject, auth uses Bearer token (not Basic), and the method has to be POST for create. I've seen similar mappings in practice tests so I'm pretty sure this is right. Disagree?
Yeah, Sofia's right. Host create needs "Bearer (token)" for auth header, not Basic. Should be networks, networkobject, Bearer, POST. Pretty sure that's what Cisco expects for FDM API creation calls.
Yep, it's f'{BASE_URL}/object/networks' → "networkobject" → f'Bearer (token).' → "POST". You need the /networks endpoint for creation, set type as networkobject, use Bearer token for auth, and POST for make. Pretty confident but ping if you see a different pattern.
Yeah, I agree with the ones saying Bearer for auth is right here since that's what FDM expects with tokens. So the right order should be:
- Target 1: f'{BASE_URL}/object/networks'
- Target 2: "networkobject"
- Target 3: f'Bearer (token).'
- Target 4: "POST"
Pretty standard for Cisco API calls. Lmk if you think otherwise!
