Skip to Content
avatar image
Former Member

403 when use cl_http_client->authenticate(usr,pwd)

Dear Experts,

I've developed a program to get content from a HTTPS website.

And I use below code:

SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L0S33 {
color: #4DA619;
}
.L0S52 {
color: #0000FF;
}
.L0S55 {
color: #800080;
}
.L0S70 {
color: #808080;
}

  CALL METHOD lo_http_client->authenticate

    EXPORTING

      username = 'username'

      password = '******'

      .

to input username&pwd. But get an 403 error when receive().

If I comments these lines, and run the program again. A popup dialog shows up and I could input the username&pwd into it. After that, I get the right response.

Where is the problem? thanks for help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 16, 2017 at 03:48 PM

    If you want to access an https website, you have to install the ssl certificate for this site first.
    (search for transaction STRUST)

    Add comment
    10|10000 characters needed characters exceeded