Recommended Practices
- Open the target API page and click “Copy Page”.
- Send the entire copied page content to the AI.
- Specify the programming language, business parameters, and response handling method to the AI.
- Ask the AI to generate complete request code, error handling, and asynchronous task polling logic (if the API involves task queries).
- Return to the documentation or test page to verify that field names, paths, and authentication methods are consistent.
Prompt Suggestions
The following is the full page content I copied directly from the API documentation page. Please generate runnable invocation code based on this content. Requirements:
- Use Bearer Token for authentication
- Base URL uses https://api.aiid.edu.kg
- Keep the complete request body and error handling
- Use comments to indicate the model, API Key, and business parameters that need to be replaced
- If this is a long-running task API, also generate an example for querying the task status.
