read .env first lol and also follow redirects
This commit is contained in:
Regular → Executable
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user