forked from p15670423/monkey
Island: Change POST to PUT in AgentConfiguration resource
This commit is contained in:
parent
c7be5f6c68
commit
cb62246948
|
@ -24,7 +24,7 @@ class AgentConfiguration(AbstractResource):
|
|||
return make_response(configuration_json, 200)
|
||||
|
||||
@jwt_required
|
||||
def post(self):
|
||||
def put(self):
|
||||
try:
|
||||
configuration_object = AgentConfigurationObject.from_mapping(request.json)
|
||||
self._agent_configuration_repository.store_configuration(configuration_object)
|
||||
|
|
Loading…
Reference in New Issue