Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 982 Bytes

1-connection-endpoints.md

File metadata and controls

35 lines (22 loc) · 982 Bytes

1.1- Connect endpoint:

Description: Establishing the connection to ProActive server. Use your ProActive username ({{myLogin}}) and {{myPassword}} to establish connection.

Path:

🟡 POST {{protocol}}://{{sal_host}}:{{sal_port}}/sal/pagateway/connect

Headers: None

Body:

  • "username": {{myLogin}}
  • "password": {{myPassword}}

Reply: A text format reply of the session ID.

NOTE: session ID which is returned is used as Header for all other endpoints. In a case that HTTP 500 error is returned with body saying that NonConnectedException occur, it means that connection to ProActive server was lost and is needed to call Connect endpoint again and use the new session ID.

1.2- Disconnect endpoint:

Description: Disconnecting from ProActive server.

Path:

🟡 POST {{protocol}}://{{sal_host}}:{{sal_port}}/sal/pagateway/disconnect

Headers: sessionid

Body: None

Reply: None