Cristian Balan
The CURL example at https://developers.ploi.io/33-databases/96-create-database is wrong and I have wasted some time debugging obvious errors.
Currently:
curl -X POST "https://ploi.io/api/servers/{server}/databases" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "name"="voluptas" \
-d "user"="voluptas" \
-d "password"="voluptas" \
Should instead read:
curl -X POST "https://ploi.io/api/servers/{server}/databases" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data '{"name":"voluptas", "user":"voluptas", "password":"voluptas"}'
Docs - Wrong Create database example
-
Dennis moved item to board Live
6 months ago -
Dennis moved item to board In progress
6 months ago -
Cristian Balan moved item to project Bugs
6 months ago -
Cristian Balan created the item
6 months ago