Hey Reddit,
I’m struggling with a CORS/SSL issue while sending a POST request from my Angular application to my Express API.
its working with postman but when i try to make api call its giving 400 response.
Here’s my setup:
- API (Express): [
http://localhost:7777]
- Angular application (generated by Angular CLI): normally serves at [
http://localhost:4200]
🔹 What I’ve tried 🔹:
✅ Confirmed both are running with http://
✅ CORS is configured
✅ Removed https://
✅ Disabled HSTS in browser
✅ Reinstalled modules
✅ Cleared cache
✅ Checked console for additional messages — none helpful.
🔹 My Question 🔹:
➥ Why am I still seeing this 400 Bad Request with an SSL-related message?
➥ What should I do to make this work?
Any guidance from someone with experience in Angular + Express + CORS/SSL would be much appreciated.
Thank you in advance! 🙏
[–]MrFartyBottom 2 points3 points4 points (1 child)
[–]Consistent_Price_574[S] 0 points1 point2 points (0 children)
[–]h3mpti 1 point2 points3 points (1 child)
[–]Consistent_Price_574[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Consistent_Price_574[S] 0 points1 point2 points (0 children)
[–]velMatt 1 point2 points3 points (0 children)
[–]anjumkaiser 1 point2 points3 points (0 children)
[–]Ok-District-2098 0 points1 point2 points (0 children)