1. Added proper content-type for POST requests
2. Added parsing of URI for retrieval of POST action