added data-api-path attribute to body