Brocade Network Advisor REST API Guide (Supporting Network Uživatelský manuál Strana 159

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 190
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 158
Brocade Network Advisor REST API Guide 145
53-1003160-01
Authentication and session management
5
Login
Logs in to a Network Advisor Server REST API session.
POST URIs
HTTP request headers
A valid user name and password (non-empty) is required for login and this is sent through the HTTP
request headers. You must add the headers while forming the POST request. The following are the
header names and values. The password is passed as plain text.
HTTP response header
Upon successful authentication, the server creates a new client session and returns a token
through the HTTP response header. The token identifies the client’s session and must be used for
all subsequent REST requests.
Response parameters
URI Description
<BASE_URI>/login Returns, if successful, the Network Advisor Server
credentials in a LoginResponse.
Request header name Request header value
Accept The content type.
WSusername The valid Network Advisor user name.
WSpassword The valid non-empty password. It is passed as plain text.
Response Header Name Request header value
WStoken The session token to be used for all subsequent REST requests. If no request is made
for 10 minutes or more, the session expires and you must log in again.
Name Description
serverName Server name.
serverIp Server IP address.
Zobrazit stránku 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 189 190

Komentáře k této Příručce

Žádné komentáře