Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ecoeppasa/testimd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API "Friend Management"

Security

username : user

password : 123

  1. 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]' 
}
  1. 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]'
        ]
}
  1. 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]"
}
  1. 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]"
}
  1. 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]"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published