[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 04/06: nexus POSTs INI (hits invalid XML for now)
From: |
gnunet |
Subject: |
[libeufin] 04/06: nexus POSTs INI (hits invalid XML for now) |
Date: |
Wed, 06 Nov 2019 11:02:48 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
commit aed6728238da85dcfab581f98d28c55c4da7bbf0
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Nov 5 23:08:49 2019 +0100
nexus POSTs INI (hits invalid XML for now)
---
nexus/src/main/kotlin/Main.kt | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/nexus/src/main/kotlin/Main.kt b/nexus/src/main/kotlin/Main.kt
index 796f0bc..155c37d 100644
--- a/nexus/src/main/kotlin/Main.kt
+++ b/nexus/src/main/kotlin/Main.kt
@@ -31,6 +31,8 @@ import io.ktor.features.StatusPages
import io.ktor.gson.gson
import io.ktor.http.ContentType
import io.ktor.http.HttpStatusCode
+import io.ktor.http.URLBuilder
+import io.ktor.http.takeFrom
import io.ktor.request.receive
import io.ktor.request.uri
import io.ktor.response.respond
@@ -221,9 +223,13 @@ fun main() {
)
return@post
}
- client.post<EbicsKeyManagementResponse>(
- url,
- body = XMLUtil.convertJaxbToString(iniRequest)
+ logger.info("POSTing to ${url}")
+
+ val response = client.post<EbicsKeyManagementResponse>(
+ urlString = url,
+ block = {
+ body = XMLUtil.convertJaxbToString(iniRequest)
+ }
)
call.respond(
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [libeufin] branch master updated (8868572 -> c98ef14), gnunet, 2019/11/06
- [libeufin] 04/06: nexus POSTs INI (hits invalid XML for now),
gnunet <=
- [libeufin] 02/06: craft INI message to send (nexus), gnunet, 2019/11/06
- [libeufin] 01/06: Implement /ebics/subscribers (nexus)., gnunet, 2019/11/06
- [libeufin] 06/06: make systemID nullable + catch != 200 responses (nexus), gnunet, 2019/11/06
- [libeufin] 03/06: use the ".apply {}" notation, gnunet, 2019/11/06
- [libeufin] 05/06: get INI to validate, gnunet, 2019/11/06