Added support for non-GET requests with payload