Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dynatrace/environment_v2/remote_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def post(self, entities: List[str], operations: List["RemoteConfigurationManagem
response = self.__http_client.make_request(
self.ENDPOINT,
method="POST",
data=payload.to_json()
params=payload.to_json()
).json()
return RemoteConfigurationManagementJob(raw_element=response)

Expand Down Expand Up @@ -97,7 +97,7 @@ def validate(self, entities: List[str], operations: List["RemoteConfigurationMan
response = self.__http_client.make_request(
f"{self.ENDPOINT}/validator",
method="POST",
data=payload.to_json()
params=payload.to_json()
)
if not response.content:
return None
Expand Down Expand Up @@ -148,7 +148,7 @@ def post(self, entities: List[str], operations: List["RemoteConfigurationManagem
response = self.__http_client.make_request(
self.ENDPOINT,
method="POST",
data=payload.to_json()
params=payload.to_json()
).json()
return RemoteConfigurationManagementJob(raw_element=response)

Expand Down Expand Up @@ -189,7 +189,7 @@ def validate(self, entities: List[str], operations: List["RemoteConfigurationMan
response = self.__http_client.make_request(
f"{self.ENDPOINT}/validator",
method="POST",
data=payload.to_json()
params=payload.to_json()
)
if not response.content:
return None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="dt",
version="1.1.70",
version="1.1.71",
packages=find_packages(include=["dynatrace*"]),
install_requires=["requests>=2.22"],
tests_require=["pytest", "mock", "tox"],
Expand Down
Loading