ETExamTower
Q4Using APIs

Refer to the exhibit. Drag the code snippets onto the numbered items that match the missing sections of the cURL exhibit to complete the cURL request to the FirePower Device Manager API for creating objects. Not every code snippet is used. <DragDrop items={["PUT","POST","False","urls","urlobject","description","Authorization: Bearer ewxsyads-sadads0as0d0-1w-1-1w-1-w","https://www.internetbadguys.com"]} slots={[{"answer":"POST","id":"item1"},{"answer":"Authorization: Bearer ewxsyads-sadads0as0d0-1w-1-1w-1-w","id":"item2"},{"answer":"https://www.internetbadguys.com","id":"item3"},{"answer":"urlobject","id":"item4"},{"answer":"urls","id":"item5"}]} template={"curl -X {{item1}} --header 'Content-Type: application/json' --header \\\n'Accept: application/json' -w '{{item2}}' -d '{\n \"name\": \"Blocked URL\", \\\n \"url\": {{item3}}, \\\n \"type\": {{item4}}\n}' 'https://ast0072-pod.xyz.com:33333/api/fdm/v4/object/{{item5}}'"} explanation={"Creating a URL object uses the POST endpoint at `/api/fdm/v4/object/urls`. The object body contains the URL address and uses `urlobject` as its lowercase class type. The supplied Bearer authorization header authenticates the API call."} reuse={false} />

Question exhibit
← → navigate · a answer
Discussion · 8
40
1. POST 2. Authorization Bearer 3. https://www.internetbadguys.com/ 4. urlobject 5. urls
10
item 4 should be urlobject item 5 should be urls
5
item 5 should be urls
2
POST Authorization: Bearer https://www... urlobject urls https://developer.cisco.com/docs/firepower-device-manager/#!addurlobject/example
2
1. POST 2. Authorization Bearer ... 3. https://ww..... 4. urlobject 5. urls
1
I agree with RF99
1
1. POST 2. Authorization Bearer 3. https://www.internetbadguys.com/ 4. urlobject (I think it could be description, but we do not know which restrictions are being applied to use) 5. urls
1
Correct answer: 1. POST 2. Authorization Bearer 3. https://www.internetbadguys.com/ 4. urlobject (I think it could be description, but we do not know which restrictions are being applied to use) 5. urls