Security
username : user
password : 123
- As a user, I need an API to create a friend connection between two email addresses.
URI : http://localhost:8080/api/createfriend/
Method : POST
raw input :
{
friends:
[
'[email protected]',
'[email protected]'
]
}
2.As a user, I need an API to retrieve the friends list for an email address.
URI : http://localhost:8080/api/getfriend/
Method : POST
raw input :
{
email: '[email protected]'
}
- As a user, I need an API to retrieve the common friends list between two email addresses.
note : you can add two or more email addresses
URI : http://localhost:8080/api/getcommonfriend/
Method : POST
raw input :
{
friends:
[
'[email protected]',
'[email protected]'
]
}
- As a user, I need an API to subscribe to updates from an email address.
URI : http://localhost:8080/api/subscribe/
Method : POST
raw input :
{
"requestor": "[email protected]",
"target": "[email protected]"
}
- As a user, I need an API to block updates from an email address.
URI : http://localhost:8080/api/unsubscribe/
Method : POST
raw input :
{
"requestor": "[email protected]",
"target": "[email protected]"
}
- As a user, I need an API to retrieve all email addresses that can receive updates from an email address.
URI : http://localhost:8080/api/newsposting/
Method : POST
raw input :
{
"sender": "[email protected]",
"text": "Hello World! [email protected] [email protected]"
}