Texturing a Bezier curve object

How would I add an image texture to an object I made by using a Bezier curve? Normally I would UV unwrap the object but because it has been made from a Bezier curve I can’t seem to do that.

Convert the curve to a mesh (Alt+C) then UV unwrap

Thank you!