sending a request to server and a group of constants is created