Skip to content

fix(client): use json parameter instead of manual serialization#59

Merged
fguillot merged 1 commit into
mainfrom
fix/json-content-type
Mar 24, 2026
Merged

fix(client): use json parameter instead of manual serialization#59
fguillot merged 1 commit into
mainfrom
fix/json-content-type

Conversation

@fguillot
Copy link
Copy Markdown
Member

Replace data=json.dumps(data) with json=data in all POST/PUT requests so that requests automatically sets the Content-Type header to application/json.

Replace `data=json.dumps(data)` with `json=data` in all POST/PUT
requests so that requests automatically sets the Content-Type header
to application/json.
@fguillot fguillot merged commit 66f20a2 into main Mar 24, 2026
7 checks passed
@fguillot fguillot deleted the fix/json-content-type branch March 24, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant