← All Status Codes
201
Created
✅ Success
Info Risk
📖 What Is HTTP 201?
The request has been fulfilled and a new resource has been created. Typically returned after successful POST requests that create new records.
🛡️ Security Implications
Verify that resource creation requires authentication. Check for mass assignment vulnerabilities in the creation endpoint.
🔍 Common Causes
Successful POST request that created a new resource (user account, database record, file upload).
🔧 How to Fix
Ensure creation endpoints validate input, check permissions, and return the Location header pointing to the new resource.
🖥️ How to Check
curl -I -o /dev/null -w "%{http_code}" https://example.com
🔗 Related Success Codes
Found this useful? Share it.
Keep going
Make it count.
Join free to earn XP for what you read and solve, keep a streak, and track your progress.
Join free