Skip to content

This is a api that will let you add users to a JSON file for a emailing list.

Notifications You must be signed in to change notification settings

tylerlewis1/Emailing-list-for-school-events-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emailing-list-api

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.

Get request

localhost:3000/users/

returns:

{
    "status": "get"
}

Post request

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"
}

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

About

This is a api that will let you add users to a JSON file for a emailing list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published