a month ago
Hi,
I am using sap bo rest services. Before calling the services I must get the logon token. So I am using /logon/long endpoint to get token but I am getting new token in every request so this is a problem.
I want to get one token and use that token until it expires. So How can I learn how long the token expires?
If I can learn how many minutes a token is valid for, I can record it in a table and check it. Or does anyone have a different suggestion?
Simply send a GET request to check the validity and expiration status.
When the session expires, you will receive error code "FWM 01002" or "FWB 00003" if the login token is no longer valid.
Ex:
GET http://<server>:<port>/biprws/logon/token
Response:
if not yet expired
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.