cURL
curl --request POST \ --url http://localhost:8080/websites \ --header 'Content-Type: application/json' \ --data '{ "hostname": "<string>" }'
{ "hostname": "<string>", "summary": { "visitors": 123 } }
Add a new website.
Session token for authentication.
Request body for creating a website.
Created
Response body for getting a website.