Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 280 Bytes

File metadata and controls

7 lines (7 loc) · 280 Bytes

simple authentication added, X-Password now combined to registered usernames: const registeredUsers = { "Ahmed": "ahmed-pass", "Emma": "emma-pass" } Example of request: curl -X POST --data '["Bees"]' -H "X-Username: Ahmed" -H "X-Password: ahmed-pass" http://localhost:3000