Let's Take the Sorcery out of Building APIs
summary
Builds concrete REST endpoints with Corvid by Wix using the wix-data API: an exported GET "allMyCandy" that returns items with an OK 200 and a POST "collectNewCandy" that parses JSON and does an insert returning Created 201. Code fits the Corvid http-functions model (demo shows the URL path _functions/collectNewCandy), tests via Postman, inserts a Twizzlers row into the live candybasket and retrieves it with GET, and the live site repeater shows images — it works.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 3:15Setting up the demo
- 8:30Building the GET API
- 20:09Building the POST API
- 28:37Testing the APIs
- 30:02Closing and Q&A








