newsletter
Add new email to newsletter
Changed onAdd a new email entry.
post/newsletter-subscription
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Email added successfully
Example response
{
"status": "success",
"status_code": 201
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking