Implement useDebounce function. Make sure the correct value of input is logged out when debounced sendRequestToServer is called.
sendRequestToServer