Get comments dynamically from the server. Getting invalid POST request for adding comments