diff --git a/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/cdr/CdrsCpoClient.kt b/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/cdr/CdrsCpoClient.kt index 9bf1d99..c6edad1 100644 --- a/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/cdr/CdrsCpoClient.kt +++ b/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/cdr/CdrsCpoClient.kt @@ -46,8 +46,7 @@ class CdrsCpoClient( with(buildTransport()) { send( HttpRequest( - method = HttpMethod.PUT, - path = "/${cdr.id}", + method = HttpMethod.POST, body = mapper.writeValueAsString(cdr) ).withRequiredHeaders( requestId = generateRequestId(),