aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2024-02-01 10:53:08 +0100
committersonartech <sonartech@sonarsource.com>2024-02-01 20:02:46 +0000
commit95f9d0ec9698724e9785b871ac6dd5df0af1f800 (patch)
treef0814f21067e3d0b19b6f5d70f090d3e25c58792 /sonar-ws
parent4e1bbcab2cfbe2c100d52e3f984a157d91a4f3ae (diff)
downloadsonarqube-95f9d0ec9698724e9785b871ac6dd5df0af1f800.tar.gz
sonarqube-95f9d0ec9698724e9785b871ac6dd5df0af1f800.zip
SONAR-21559 Fix SSF-553
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java
index bdb60cf61a7..cbe98cb3c27 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java
@@ -64,7 +64,7 @@ public class SettingsService extends BaseService {
*/
public EncryptWsResponse encrypt(EncryptRequest request) {
return call(
- new GetRequest(path("encrypt"))
+ new PostRequest(path("encrypt"))
.setParam("value", request.getValue()),
EncryptWsResponse.parser());
}