Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions persistence/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ Persistence is a feature that allows you to save and access browser data across
```ts

// Server
const myProfileId = "..." // The session ID from the previous saved session
const response = await axios.post("https://engine.hyperbeam.com/v0/vm", {
profile: {
load: // previously saved session ID to load
save: // session ID to save the session as
}
profile: myProfileId // Pass the session ID to load the session and overwrite it when the session is over
}, { headers });

```
Expand Down