Call API with CURL for consumption in specific day