Added html request functionality