Project

General

Profile

dev #2035

Updated by Ayat Rahman about 1 year ago

Document bulk creation (POST /ai-tool/bulk-create), category (GET/POST /categories), #### **Description:** 

 Implement CAPTCHA verification to prevent bots from submitting tool information via the form. 

 #### **Tasks:** 

 1.    **Integrate CAPTCHA Solution:** 
    
     -     Integrate Google reCAPTCHA v2/v3 or Cloudflare Turnstile into the `/api/tools/captcha` endpoint. 
 2.    **Verify CAPTCHA Response:** 
    
     -     Verify the CAPTCHA response on the server-side through the respective API. 
 3.    **Return Success/Failure Status:** 
    
     -     Return a success or failure response based on the CAPTCHA verification result. 

 #### **Acceptance Criteria:** 

 -     CAPTCHA integration is complete and target user (GET/POST /target-users) endpoints in Postman. Add tests for pagination and bulk operations. functional. 
 -     CAPTCHA response is verified properly via the selected API. 
 -     Success or failure status is returned as expected.

Back