ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Help me with This page requires a user-id & password using HTTPAPI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Eureka! Bingo! Yes!

    I found the problem. The API works through sessions and these sessions are authenticated in addition to the username and password with the name of the networked device. In my case, I had to register the serial number of my device. And this can be displayed with the following command:

    Code:
    WRKSYSVAL SYSVAL (QSRLNBR)
    In the http_log if this serial number was shown next to code 401. But the truth was I had not seen it. I believe that for security the invalid user message and password is not explicit or clear. And this was what confused me the most. But I learned too much.

    Thank you very very much.

    Comment

    Working...
    X