reformat curl to match conventions and add missing example