Skip to content

heman57/goTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blacklist

Microservice which store blacklisted emails.

GET /blacklist - all emails response

GET /blacklist/email@email.em - is or not in blacklist

POST /blacklist - add JSON {"email": "@email.at", "status": "string", "clientID": "1"}

PUT /blacklist - add multiply JSON {"emails": ["@email.at"], "status": "string", "clientID": "1"}

DELETE /blacklist/email@email.em - delete from blacklist

Clientid:{string} have to be in header for all request. POST and PUT using JSON clientID when creating db record.

About

some go Hello world

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages