To delete the record with a _key value of smith from the sales collection, a DELETE request should be sent to which REST endpoint?
To delete the record with a _key value of smith from the sales collection, a DELETE request should be sent to which REST endpoint?
To delete a record from a collection in a RESTful service, the correct endpoint generally includes the collection type and identifiers. The correct format for accessing data within a collection usually follows '/storage/collections/data/collection_name/key', which matches option C. Therefore, the correct endpoint to delete the record with a _key value of smith from the sales collection is '/storage/collections/data/sales/smith'.
Letter C is correct.
C /storage/collections/data/sales/smith