curl -X POST https://beta-avallon.onrender.com/api/sites/modify \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"siteId": "1234567890",
"message": "Add a testimonial section with 3 customer reviews",
"currentCode": {
"index.html": "<!DOCTYPE html>..."
}
}'
Endpoints
Modify Website
Modify an existing website using AI
curl -X POST https://beta-avallon.onrender.com/api/sites/modify \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"siteId": "1234567890",
"message": "Add a testimonial section with 3 customer reviews",
"currentCode": {
"index.html": "<!DOCTYPE html>..."
}
}'