Error trying to access certain bank information

Asked

Viewed 34 times

1

I am trying to access certain information from my database, but the following error is occurring:

inserir a descrição da imagem aqui

Chunk where when debugging error occurs:

IdHTTP := TIdHTTP.Create(nil);
IdHTTP.Port := 80;
IdHTTP.Connect(-1);
IdHTTP.Request.BasicAuthentication := true;
  • Have you tried using breakpoints to try where the problem is?

  • Your base is connected the moment you open this query?

  • @Sorack Base? How can I validate this?

1 answer

2


The Connect of IdHTTP only works if you already have the address. Remove this line and add only if you put the address of the URL to connect to.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.