curve examples

I was unable to find examples for 2 spline type

[‘POLY’, ‘BEZIER’, ‘BSPLINE’, ‘CARDINAL’, ‘NURBS’])

anyone can show some examples for the

BSPLINE
cardinal

like how to create these and read the data

and where these curves are used in blender ?

thanks
happy bl