curl --request POST \
--url https://api.example.com/api/newsletter \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'email=<string>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Subscribe to newsletter.
curl --request POST \
--url https://api.example.com/api/newsletter \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'email=<string>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Successful Response