Put curl to controller