use curl instead