my rest api actually receiving requests
actually waiting until barrier comes to return