sending request data as json