Creating a Granta Integration Service session
The first part of this script (creating a session) is the same as in the Getting Started example:Opening an SSE connection
Next we add the code to connect via SSE:Ending the session
To close the session down and ensure no more materials can be received, send an HTTPDELETE request to the session URL: