Test curl added to controller rest