Fixed request adapter to do both get and post requests

Fixed #26