fixed method call in apirequest wsgi section