From 5c8c0fc99e18e283ff77ca086effb54902d13830 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 20 Oct 2024 00:59:53 +0500 Subject: [PATCH] add fetchname --- fetchname.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 fetchname.sh diff --git a/fetchname.sh b/fetchname.sh new file mode 100755 index 0000000..9788fcf --- /dev/null +++ b/fetchname.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +source .env 2> /dev/null + +accountNo=$1 + +curl -s 'https://faisanet.mib.com.mv/ajaxBeneficiary/getAccountName' \ + -H "cookie: ql_0=${QL_0}; IBSID=${IBSID}" \ + --data-raw "accountNo=${accountNo}"