merged latest whatsapi code and added request method to index