diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bank-lib/fakebank.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index c0eb41bd7..2241c494c 100644 --- a/src/bank-lib/fakebank.c +++ b/src/bank-lib/fakebank.c @@ -4430,6 +4430,20 @@ handle_mhd_request (void *cls, upload_data_size, con_cls); } + /* Next is duplication to be more libeufin-like: */ + if (0 == strncmp (url, + "/access-api/", + strlen ("/access-api/"))) + { + url += strlen ("/access-api"); + return handle_bank_access (h, + connection, + url, + method, + upload_data, + upload_data_size, + con_cls); + } if (0 == strncmp (url, "/anastasis-api/", strlen ("/anastasis-api/"))) |