Overview#
API documentation often includes an interactive feature called the "Try it out
" button. This allows users to test API endpoints directly from the documentation interface without needing external tools like Postman or cURL. This guide explains how to use the Try it out
button effectively for API testing.Steps to Test an API Using "Try it out"#
1. Navigate to the API documentation page.#
Click here to navigate to the API documentation page. 2. Locate the API Section#
Scroll through the list of available endpoints.
Click on the desired endpoint (e.g., "Auto Resize & Align").
Click the Try it out
button next to the endpoint, as shown in the provided screenshot below.
The right panel will display the endpoint details, including the request method (e.g., POST), URL path, and request body.
3. Enter Required Parameters.#
Fill in the necessary parameters as follows:1.
Request Body: Enter the required JSON data in the Body
section, following the format specified in the API documentation - Examples. 2.
Headers: Add necessary authentication tokens or content types in the Headers
section as required by the API.
4. Execute the API Request#
Click the 'Send' button to execute the request.

``The API will process the request and return a response.
5. Review the API Response#
The API response will return an image output, verify that it is properly rendered.

``Examine the response status code. If the request is successful, the API returns a 200 response.
In case of an error (e.g., 400 Bad Request, 401 Unauthorized, or 500 Internal Server Error), please refer to the FAQs section for troubleshooting. For further assistance, contact Crop.photo Support. Conclusion#
Using the Try it out
button simplifies API testing, enabling quick verification of endpoint functionality, to validate API responses efficiently.Modified at 2025-03-14 09:51:07