cleanup in logic around get vs body params in curl examples