BASIC SOCIAL MEDIAL API TO CREATE MULTIPLE USER, CREATE A POST, COMMENT ON POST, LIKE POST, FOLLOW USERS.
In this project i will list the endpoint to hit when you run program
UserName,FirstName,LastName,ImageFile(Image File up to 10MB). Image upload is done with amazon aws, if ImageFile is NULL, imageFileUrl = "";
POST - localhost:2001/User/create
Form-data
KEY:
UserName:Text
FirstName:Text
LastName:Text
ImageFile:File
GET - localhost:2001/User/List
get USERID from CREATE USER response
POST - localhost:2001/Post/USERID/create
Form-data
KEY:
PostContent:Text
ImageFile:File
get POSTID from CREATE POST response DELETE - localhost:2001/Post/POSTID
POST - localhost:2001/Post/USERID
get USERID,POSTID
POST - localhost:2001/Comment/USERID/POSTID/create
Form-data
KEY:
Comment:Text
get POSTID GET - localhost:2001/Post/POSTID
GET USERID,POSTID POST - localhost:2001/Likes/USERID/POSTID/like
GET - localhost:2001/Likes/POSTID
get both USERID POST - localhost:2001/Follow/USERID/FOLLOWERUSERID
GET - localhost:2001/Follow/USERID