Add a body API
Merge branch 'API_body' into webapp