Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Cookie example

Example of using cookies in tinyhttp.

Setup

tinyhttp new cookie

Run

node index.js

And then in another terminal, run:

curl --cookie "user=user;password=pwd" http://localhost:3000