DEVCOR Exam QuestionsBrowse all questions from this exam

DEVCOR Exam - Question 325


DRAG DROP

-

Drag and drop the code snippets from the bottom onto the blanks in the code to retrieve the audit logs that were created after a specific date. Not all options are used.

Show Answer
Correct Answer:

Discussion

8 comments
Sign in to comment
sandotxang
Mar 22, 2023

- Intersight.com/api/v1 - Accept - Authorization - GET

Amycert
Sep 24, 2024

correct

guru_4_hire
Aug 28, 2023

I think its GET, I am assuming that when you are using the generic requests method, and you are passing the method to it, that it will ignore the data param which is empty anyway.

minomusi
Apr 12, 2023

auditrecords has only get method

vrossa
Jun 22, 2023

Its GET, aaa/AuditRecords has only get method, as minomusi said: https://intersight.com/apidocs/apirefs/aaa/AuditRecords/model/

Pecoto
Jul 29, 2023

I think is POST not GEt as you cant send json with GET get(url, params, args) post(url, data, json, args) https://www.w3schools.com/python/module_requests.asp

cj_kuo
Apr 10, 2023

The giving answer seems to be correct. The answer was: Intersight.com/api/v1 Accept Authorization POST ** for last one, the request was to create an audit entry; therefore, using POST.

lancejack2021
May 1, 2023

Key word here is RETRIEVE the audit logs, so POST is wrong. GET is the correct operation

tor123
Jun 7, 2023

I am confused about GET method, since function is passing data to the request module. I think its POST

al_mon
Feb 8, 2025

No, it does not. The payload is empty, payload ={}, which is typical for GET.

samael666
Jan 20, 2025

the HTTP method is GET, the payload is ommitted by the INTERSIGHT API