-
Bank details ,given branch IFSC code.
-
All details of branches ,given bank name and a city.
Both the services uses GET API to fetch the data,and also supports optional parameters limit and offset.
-
APIs are authenticated using JWT token ,valid for 5 days.
-
PostgreSQL is used as bankend.
-
All datas are passed as query parameters.
-
The JWT Token is : Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXJuYW1lIiwiaWF0IjoxNTY4MzIzMTM2LCJleHAiOjE1Njg3NTUxMzZ9.3M0xRclV2QscVrwOcDWe_M3PUjnWUrStyTxsTuD82YU
https://protected-plateau-55954.herokuapp.com/
curl --header "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXJuYW1lIiwiaWF0IjoxNTY4MzIzMTM2LCJleHAiOjE1Njg3NTUxMzZ9.3M0xRclV2QscVrwOcDWe_M3PUjnWUrStyTxsTuD82YU" https://protected-plateau-55954.herokuapp.com/bankdetails?IFSC_code=ABHY0065001"&"limit=5"&"offset=0
curl --header "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXJuYW1lIiwiaWF0IjoxNTY4MzIzMTM2LCJleHAiOjE1Njg3NTUxMzZ9.3M0xRclV2QscVrwOcDWe_M3PUjnWUrStyTxsTuD82YU" https://protected-plateau-55954.herokuapp.com/branchdetails?bank_name=ABHYUDAYA%20COOPERATIVE%20BANK%20LIMITED"&"city=MUMBAI"&"limit=5"&"offset=0
https://protected-plateau-55954.herokuapp.com/tokenrequest
curl --header "Authorization: Bearer <token> " <url+query_parameters>
1) bankdetails.sh file to call GET API to fetch bank details using curl
2) branchdetails.sh file to call GET API to fetch branch details using curl
3) Documentation on how to use the scripts using a walkthrough example.