change http method to post in custom command