using curl fo desktop