Update repository to use new HTTP API

Posted by mangalaman93:

More details here Remove custom HTTP Headers, cleanup API by mangalaman93 · Pull Request #3365 · dgraph-io/dgraph · GitHub

paulftw commented :

IIRC someone (could be me) fixed this one