REST API to create a DNS record.
Deploy to app platform. Set the following environment variables
DO_TOKEN
- A DigitalOcean API Token with write accessDOMAIN
- A domain registered with DigitalOcean that the token can create records forPASSWORD
- A password users must enter to create a DNS record
/
POST
{
"password": SERVER_PASSWORD,
"name": SUBDOMAIN_NAME,
"ip": IPV4_ADDRESS
}