Skip to content

Commit eba10c9

Browse files
committed
[docs] add CORS note to README
1 parent 712d871 commit eba10c9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ CallGate provides programmatic control of phone calls through a REST API, specif
2424
- [Example Payload](#example-payload)
2525
- [SMSGate Compatibility](#smsgate-compatibility)
2626
- [πŸ”’ Security Best Practices](#-security-best-practices)
27+
- [πŸ› οΈ Troubleshooting](#️-troubleshooting)
28+
- [CORS Error Resolution](#cors-error-resolution)
2729
- [🌐 Related Projects](#-related-projects)
2830
- [πŸ“Œ Project Status](#-project-status)
2931
- [🀝 Contributing](#-contributing)
@@ -197,6 +199,15 @@ curl -X DELETE \
197199
- Restrict to trusted networks
198200
- Consider encryption for remote access
199201

202+
## πŸ› οΈ Troubleshooting
203+
204+
### CORS Error Resolution
205+
206+
- **Issue:** CORS errors occur when making API calls directly from a web browser.
207+
- **Root Cause:** CORS is disallowed by design for security reasons.
208+
- **Solution:** Proxy API requests through a backend server (the only supported resolution path).
209+
- **Note:** Direct web browser access to the CallGate API is not supported; backend proxying is required for web-based integrations.
210+
200211
## 🌐 Related Projects
201212

202213
βœ… **SMSGate** - Complete SMS Management Solution

0 commit comments

Comments
Β (0)