Fixed invalid JSON fields

This commit is contained in:
Illia Chub 2021-12-22 07:59:11 +02:00
parent d6d6f49a3a
commit c6e2202d3a

View file

@ -12,5 +12,5 @@ steps:
curl -X POST
-H "Authorization: Bearer $PASSWORD"
-H "Content-Type: application/json"
-d '{"automount":false,"datacenter":"nbg1-dc3","firewalls":[],"image":"ubuntu-20.04","labels":{},"location":"nbg1","name":"ci-sibling","networks":[],"server_type":"cx11","ssh_keys":[],"start_after_create":true,"user_data":"#cloud-config\nruncmd:\n- [touch, /root/cloud-init-worked]\n","volumes":[]}'
-d '{"automount":false,"firewalls":[],"image":"ubuntu-20.04","labels":{},"location":"fsn1","name":"ci-sibling","networks":[],"server_type":"cx11","ssh_keys":[],"start_after_create":true,"user_data":"#cloud-config\nruncmd:\n- [touch, /root/cloud-init-worked]\n","volumes":[]}'
'https://api.hetzner.cloud/v1/servers'