DELETE API
Instructions to Test a DELETE
API in Data Equity Studio
Follow these steps to test a DELETE API using Data Equity Studio.
1. Create the API Definition
- Define the API and ensure the resource type is properly created.
- Configure the DELETE operation for the resource.
- Ensure the API accepts an ID parameter in the URL to specify which resource should be deleted.
- Assign a mock data type to the resource type if needed for response validation.
2. Deploy the API
- Navigate to the Policy Editor.
- Configure any required policies (e.g., API Key authentication, rate limiting).
- Click Deploy API to make your mock API available.
3. Test the API Using Postman
- Open Postman or any API testing tool.
- Use the Mock URL provided after deployment.
- Set the HTTP method to DELETE.
- Include the resource ID in the request URL to specify which resource to delete.
- Send the request and observe the response.
- A quick verification using a GET call will show the addition of the new data