set request to render pdf