read .env first lol and also follow redirects

This commit is contained in:
2023-05-21 18:38:51 +05:00
parent d87b24b284
commit 8cd3106281
Regular → Executable
+3 -1
View 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