We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1aaaf3 commit c8599f9Copy full SHA for c8599f9
README.md
@@ -28,10 +28,10 @@ def main():
28
try:
29
# Create a new server
30
server = client.servers.create(
31
- imageSlug="ubuntu-20-04-x64",
32
- locationId="pl-waw",
+ imageSlug="foo",
+ locationId="foo",
33
name="test-server",
34
- profileSlug="s-1vcpu-1gb",
+ profileSlug="foo",
35
)
36
37
# Access server data from response body
@@ -86,11 +86,6 @@ def main():
86
hookType="foo",
87
hookValue="https://your-webhook-url.com"
88
89
-
90
- # Access response data (same pattern as new SDK)
91
- webhook_id = webhook.get("body").get("id")
92
- callback_id = webhook.get("headers").get("x_callback_id")
93
94
except RequestException as e:
95
print(f"Request failed: {e}")
96
0 commit comments