rework api proxy