add support for post method