Which of the following API call actions are associated with Creation in the CRUD operations? (Select all that apply)
When automating vDefend Security via its REST API, operations map to standard HTTP methods representing CRUD (Create, Read, Update, Delete) actions.
POST: This is universally used for Creation. It is typically used when you want the system to automatically generate the unique identifier (ID) for the newly created object.
PUT: While traditionally associated with 'Update' (replacing an entire object), in the vDefend declarative Policy API, PUT is heavily utilized for Creation as well. Specifically, if you want to define your own custom ID for a new object in the API path (e.g., PUT /policy/api/v1/infra/domains/default/groups/My-Custom-Group-ID), you use a PUT request to create it. If the object doesn't exist, PUT creates it; if it does exist, PUT updates it.
=========================
Currently there are no comments in this discussion, be the first to comment!