add endpoint to buildRequestStr