Postman Guide213123123
Postman Guide213123123
Postman Guide213123123
- Method: GET
- No body required
- Expected Response:
{
"status": "healthy",
"model": "loaded",
"device": "cuda",
"stored_data": {
"has_cv": false,
"has_job": false
}
}
2. Upload CV
POST http://localhost:5000/upload_cv/
Headers:
Content-Type: application/json
3. Upload Job
POST http://localhost:5000/upload_job/
Headers:
Content-Type: application/json
4. Analyze Match
POST http://localhost:5000/analyze_match/
- No body required
- Must have both CV and Job data uploaded first
- Expected Response:
{
"success": true,
"processing_time": 0.12,
"device_used": "cuda",
"match_details": {
"job_id": 1,
"job_title": "Senior Software Developer",
"candidate_name": "Example Name",
"candidate_email": "example@gmail.com",
"scores": {
"overall_match": 85.5,
"skill_match": 90.0,
"experience_match": 100.0,
"content_similarity": 70.2
},
"skill_analysis": {
"matching_skills": ["python", "javascript", "react"],
"missing_skills": [],
"additional_skills": ["git", "vs code"]
},
"experience_analysis": {
"required_years": 2.0,
"candidate_years": 2.0,
"meets_requirement": true
},
"recommendation": {
"category": "Strong Match",
"action": "Highly Recommended for Interview"
}
}
}
5. Clear Data
DELETE http://localhost:5000/clear_data/
- No body required
- Clears stored CV and Job data
- Use before starting new matching process
Common Issues
1. 400 Bad Request:
- Check JSON format
- Verify required fields
- Ensure data types correct
2. 500 Internal Server Error:
- Check server logs
- Verify database connection
- Check model loading status
3. Matching Issues:
- Verify skill names match exactly
- Check experience format
- Ensure text fields properly formatted