added send request function and variables used
got url process request working