How to Generate API Calls

How to Generate API Calls

To generate the curl request, perform the following steps:

  1. Go to the Barracuda Web Application Firewall API Documentation page and select the WAF firmware version. 

  2. Navigate to the required API endpoint. For example, select request-limits under security-policy.

    API_Endpoint.png

     

  3. On the Security Policy Request Limits API page, select the action (GET or PUT) to be performed. For example, select GET.

    Request_Limits_APIs.png

     

  4. On the Security Policy Request Limits API > GET page, click Generate Example.

     

  5. Provide the values for the required fields and click Generate

    Generate_Request.png

     

  6. A curl request gets generated with the specified values.

    curl_request.png

     

  7. Use the generated curl request to perform the relevant action.