Skip to content

Commit

Permalink
chore(README): update for PATCH
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Kiefer committed Mar 22, 2019
1 parent 365e026 commit 4737ba1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ service.create({
service.find({}).then((result) => {
console.log(result); // logs full content of the python script
});

// PATCH /pythonScript
service.patch(null, { content: 'content'}).then((result) => {
console.log(result); // logs "content", updates python script content on disk
});
```

## Testing
Expand Down

0 comments on commit 4737ba1

Please sign in to comment.