Since curl isn't available in PowerShell by default, use this command:
Invoke-WebRequest -Uri "https://food-delivery-server.onrender.com/api/health" -Method GET -UseBasicParsingOr to see just the response:
(Invoke-WebRequest -Uri "https://food-delivery-server.onrender.com/api/health" -UseBasicParsing).ContentIf your backend is deployed and running, you should see:
{
"status": "ok",
"database": "connected",
"timestamp": "2024-..."
}Possible causes:
- Backend not deployed yet - You need to deploy it first on Render
- Wrong URL - Check your Render dashboard for the correct URL
- Backend still deploying - Wait a few minutes and try again
- Backend crashed - Check Render logs
- Go to https://render.com/dashboard
- Click on your backend service
- Check the status:
- ✅ Live = Running and accessible
- 🟡 Building = Still deploying (wait)
- ❌ Failed = Check logs for errors
Follow the deployment guide:
- Go to
DEPLOYMENT_GUIDE.mdorRENDER_QUICK_START.md - Complete Step 1: Deploy Backend
- Wait for deployment to finish
- Then test again
Simply open this URL in your browser:
https://food-delivery-server.onrender.com/api/health
You should see JSON response if it's working.