Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Only a registered Axxon PSIM user can receive the token. If you don't specify the login and password for the Basic authorization in the request, the server returns a "500 Internal Server Error".
You can request a token via Web server and Web server 2.0.
When you send a request to get a token via Web server 2.0, cookies are saved. If you then send an authorization request without a token but with cookies already saved, the process will be successful. After you restart the server with a still valid token, the request also goes through.

Example of a request to get a token via Web server 2.0:

Code Block
languagexml
http://1:1@127.0.0.1:8085/web2/secure/token?expires_in=300

Example of a request with a token for authorization via Web server 2.0:

Code Block
languagexml
http://127.0.0.1:8085/web2/secure/persons?token=

Example of an authorization request via Web server 2.0 without a token and with cookies saved:

Code Block
languagexml
http://127.0.0.1:8085/web2/secure/persons?

General format of request:

...