Set RETURNTRANSFER true to avoid geting 1 or 0 as response from CURL