Add curl endpoint to dora

* to be used in security group tests

[#74566262]

Signed-off-by: Dave Liebreich <dliebreich@pivotallabs.com>
add comments describing meaning of curl exit codes