This is a api that will let you add users to a JSON file for a emailing list. This app makes a webserver on port 3000.
localhost:3000/users/
returns:
{
"status": "get"
}
localhost:3000/users/Email|Name|Day|Hour
writes to JSON file:
{
Userdata[
{
"email": "Email",
"name": "Name",
"Day": "Day",
"Hour": "Hour"
}
]
}
Returns:
{
"email": "email",
"name": "name",
"day": "day"
}
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.