POST
/functions/v1/get_decode_food_idRequest JSON
{
"foodText": "Greek yogurt with blueberries, walnuts and honey"
}Response JSON
{
"job_id": "9a2f41...",
"status": "queued",
"status_url": "https://tirqjzahcinadeulfylj.supabase.co/functions/v1/get_decode_food_id?job_id=9a2f41...",
"meta": {
"retry_count": 0,
"completed_at": null
}
}curl -X POST 'https://tirqjzahcinadeulfylj.supabase.co/functions/v1/get_decode_food_id' \
-H 'x-api-key: $MYMOLECULES_API_KEY' \
-H 'Content-Type: application/json' \
--data '{ "foodText": "Greek yogurt with blueberries, walnuts and honey"}'