Skip to content

Commit 21e40ff

Browse files
authored
Update README.md
1 parent ed0f2b9 commit 21e40ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ $post->body = "Hello from Writeas.php";
3636
$post->save();
3737
```
3838

39+
The Context is your livelyhood for communicating with the instance you specify in it's constructor. It handles the building of requests and updating of object instances.
40+
41+
If you work with Anonymous data like Posts, it's important that you save the returned token that you get after initially saving your Post. Otherwise you are unable to update the post.
42+
43+
Objects like Post or Collection will update automagically after calling a save/get functions. For instance, if you ->save a Post, it's token will appear in ->token.
44+
3945
# Work in progress
4046

4147
- [ ] Authentication

0 commit comments

Comments
 (0)