Skip to content

Commit

Permalink
Update DELETE example code
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-mba authored Dec 4, 2023
1 parent 224d32d commit 628ed8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ body: {
DELETE /Skills/{skill_id} - Delete selected skill
```js
//Skill ID is rating & skill separated by the hash character
skill_id = `${rating}#${skill}`
//In JavaScript
skill_id = encodeURIComponent(`${rating}#${skill}`)

```
```python
#In Python
skill_id = urllib.parse.quote(f"{rating}#{skill}")
```

DELETE /Skills/ALL_SKILLS - Delete all skills
Expand Down

0 comments on commit 628ed8e

Please sign in to comment.