how to change baseurl to live account

1 post / 0 new
eddydc
how to change baseurl to live account

I have made an application in VB.NET and everything works fine in the demo-account.

But now I want to use the code in the live-account, but I don't know how to change the base-url.

This is the code I use to login:

Private _igRestApiClient As New IgRestApiClient

Dim _APIkey As String = "API KEY"
Dim user As String = "user"
Dim pw As String = "pw"
Dim ar As New AuthenticationRequest()

ar.identifier = user
ar.password = pw

authenticationresponse = Await _igRestApiClient.SecureAuthenticate(ar, _APIkey)

after that I get 'forbidden code 403'
(because it points to the demo-url)