read .env first lol and also follow redirects
This commit is contained in:
parent
d87b24b284
commit
8cd3106281
4
fahipay-raastas.sh
Normal file → Executable file
4
fahipay-raastas.sh
Normal file → Executable file
@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
source .env
|
||||
|
||||
curl -s https://fahipay.mv/actions/payment/ooredoo/recharge/ \
|
||||
|
||||
curl --location https://fahipay.mv/actions/payment/ooredoo/recharge/ \
|
||||
--header "authID: $FAHIPAY_API" \
|
||||
--form number=$OOREDOO_NUMBER \
|
||||
--form amount=108
|
||||
|
Loading…
x
Reference in New Issue
Block a user