xhr request to service works