HTTPS Session Handling
On the HTTPs API, the password is usually given with each request and checked by the API-Server. For security reasons, the password check requires more time, which is slowing down every single request. The use of a persistent session increases the security because the password is sent only at the start of the session and thus speeding up all other request.
Two Methods To Open a Session
Section titled “Two Methods To Open a Session”Passing on the API commands through parameters:
https://api.rrpproxy.net/api/call?s\_login=
or
https://api.rrpproxy.net/api/call
followed by the API command below:
command = StartSessionlogin = (REGISTRAR)password = (PASSWORD)persistent = 1newpassword = (NEW_PASSWORD, optional, it allows you to set a new password during session start)code = 200description = Command completed successfullyproperty[sessionid][0] = 1dac7d5108865ac2a4c54fec04526d69Requests With Session ID
Section titled “Requests With Session ID”The previously received session ID can be used in the following way:
https://api.rrpproxy.net/api/call?s\_login=
or
https://api.rrpproxy.net/api/call?s\_login=
command=StatusAccountcode = 200description = Command completed successfully...Closing a Session
Section titled “Closing a Session”The already opened session can be closed in the following ways:
https://api.rrpproxy.net/api/call?s\_login=
or
https://api.rrpproxy.net/api/call?s\_login=
command=StopSessioncode = 200description = Command completed successfully