headers:
- x-app-id
- x-app-key
- Content-Type: application/json
POST request body:
{
"query":"ran 3 miles",
"gender":"female",
"weight_kg":72.5,
"height_cm":167.64,
"age":30
}
See comment below for sample API response.
Original documentation: https://docs.google.com/document/d/1_q-K-ObMTZvO0qUEAxROrN3bwMujwAN25sLHwJzliK0/edit#
In the header dictionary, where you have the x-app-id and the x-app-key keys, the corresponding values, APP_ID and API_KEY are missing.
You used empty double quotes instead, please check and replace with APP_ID and API_KEY