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