[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Provide 'hello' endpoint for Wire Gate
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Provide 'hello' endpoint for Wire Gateway. |
Date: |
Fri, 17 Apr 2020 00:29:33 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 216e8e4 Provide 'hello' endpoint for Wire Gateway.
216e8e4 is described below
commit 216e8e4c3a9ba41bc0a2cc9a35b53bd335ad7cf6
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Apr 16 23:19:55 2020 +0200
Provide 'hello' endpoint for Wire Gateway.
---
nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
index abb74ab..b82e516 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
@@ -161,6 +161,10 @@ class Taler(app: Route) {
/** Attach Taler endpoints to the main Web server */
init {
+ app.get("/taler") {
+ call.respondText("Taler Gateway Hello\n", ContentType.Text.Plain,
HttpStatusCode.OK)
+ return@get
+ }
app.post("/taler/transfer") {
val exchangeId =
authenticateRequest(call.request.headers["Authorization"])
val transferRequest = call.receive<TalerTransferRequest>()
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Provide 'hello' endpoint for Wire Gateway.,
gnunet <=