How can I save UV coordinates into .obj when using curves
Turn on "Use UV for mapping" in the texture space options in the Object Data tab of the properties window:



Turning on this option will generate UV maps for when you convert the curve to a mesh, or export the curve to .obj, since .obj doesn't support bezier curves and converts the curve to mesh as part of the export process.