add POST and GET capable to send data with the request