An open API service indexing awesome lists of open source software.

https://github.com/biswajitthakur/toy-ses

Simple Email Service
https://github.com/biswajitthakur/toy-ses

Last synced: about 2 months ago
JSON representation

Simple Email Service

Awesome Lists containing this project

README

        

# toy-ses

Simple Email Service

## 🚧 Under Development 🚧

## Start server

```bash
GIN_MODE=release go run .
```

## Send Email

```
POST /api/email/send/

Header:
Content-Type: application/json

Body: {"subject":"","body":""}
```

#### Response On Success

```json
{"status":"success"}
```

#### Response On Failure

```json
{"status":"faild"}
```

## Count Email

```
GET /api/email/count
```

#### Response

```json
{"faild_count":,"success_count":}
```

## Test

```
GIN_MODE=release go test
```