Adding optional redirect_uri param to all the post APIs