Skip to content

In instances.create -> pass payload to API.#37

Merged
alejandrojnm merged 1 commit into
civo:masterfrom
hoogenm:master
Apr 13, 2024
Merged

In instances.create -> pass payload to API.#37
alejandrojnm merged 1 commit into
civo:masterfrom
hoogenm:master

Conversation

@hoogenm

@hoogenm hoogenm commented Apr 13, 2024

Copy link
Copy Markdown
Contributor

In the instances.create method, pass the payload to the API by using data=payload instead of params=payload in the requests.post call.

This modification made the client work for me, otherwise I got an error back from the API (no information for the instance(s) to create).

In the post request of instances.create, use data=payload instead of params=payload.
@alejandrojnm
alejandrojnm merged commit 631196d into civo:master Apr 13, 2024
@alejandrojnm

Copy link
Copy Markdown
Member

Yes, this SDK is out of date, I need to update it, need to find the time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants