updated api url from 'api/workflow' to plural 'api/workflows'