Skip to content

Commit

Permalink
chore: format readme example code
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 8, 2024
1 parent 0b48d5a commit e7bcf4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ import os
cookie_jar := './demo_cookie'
req := vibe.Request{
headers: {
headers: {
.content_type: 'application/json; charset=utf-8'
}
cookie_jar: cookie_jar
Expand All @@ -172,7 +172,7 @@ req.post('https://api.yourdomain.com/v1/#', '{"username":"yourname","passwor
// Use the `cookie_file` in subsequent sessions to access endpoints that require the authentication above.
req2 := vibe.Request{
headers: {
headers: {
.content_type: 'application/json; charset=utf-8'
}
cookie_file: cookie_jar
Expand Down

0 comments on commit e7bcf4c

Please # to comment.