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:
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.
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)
Thank you very very much.
Comment