Hi [First name],
I hope you’ve enjoyed working with me. I’m sure you can imagine, testimonials go a long way in my line of work.
Would you be happy to provide to me a written testimonial in the form of a LinkedIn recommendation?
If its easier for you, I can draft one out for you. Let me know either way, catch up soon.