Badboy
Badboy
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
Like parser thing, or smtn ?
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
Do you perhaps have any clue why could underscore mess things up ? The idea of underscore was to not mess things up, i believe
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
Good to know it isn't
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
I come from C++, and was pretty sure, that underscore is safe
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
okay
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
or objects etc.
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
names of files ?
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
Yeah sure, good idea 😄
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
(so i will do it firstly not on my DevEnv)
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
(and i'm afraid of installing newer versions of .NET, 99% i'm just dumb not doing it right away, but caution is too strong in me)
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
@TeBeCo Also i will try your code tonight on diffrent platform (i truly do not want to mess up what is working)
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
I kinda don't believe still, after all this time. You guys really make it. To everyone involved
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
@leowest Thank you very much 🙂 it DOES WORK and for SSL also ;_; i tried to use nonSSL connections bc of marathon-long threads i saw about this problem on forums (it said SSL version mismatch makes it impossible to connect, thus using nonSSL)
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
Oh got it, thank you guys soo much for your intel. I appreciate, tomorrow morning( in like 10 hours) i will sit to this after some sleep. Even if it won't work, i still learnt a huge deal of things 🙂 For that i am grateful
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
How come you think so ? In LAN firewall rules do apply still. Am i missing something ? Or did you mean local - like in local device (not Local network)
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
UDP too ? :andyHmm:
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
This powershell comamand will create exceptions in your firewall
$ports = @(5297, 7258)
foreach ($port in $ports) {
New-NetFirewallRule -DisplayName "Custom Inbound Rule for Port $port" `
-Description "Allows inbound traffic on port $port" `
-Direction Inbound `
-LocalPort $port `
-Protocol TCP `
-Action Allow
New-NetFirewallRule -DisplayName "Custom Outbound Rule for Port $port" `
-Description "Allows outbound traffic on port $port" `
-Direction Outbound `
-LocalPort $port `
-Protocol TCP `
-Action Allow
}
$ports = @(5297, 7258)
foreach ($port in $ports) {
New-NetFirewallRule -DisplayName "Custom Inbound Rule for Port $port" `
-Description "Allows inbound traffic on port $port" `
-Direction Inbound `
-LocalPort $port `
-Protocol TCP `
-Action Allow
New-NetFirewallRule -DisplayName "Custom Outbound Rule for Port $port" `
-Description "Allows outbound traffic on port $port" `
-Direction Outbound `
-LocalPort $port `
-Protocol TCP `
-Action Allow
}
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
Thanks! Will add it in moment
379 replies
CC#
Created by Badboy on 3/25/2024 in #help
✅ MAUI on Android - problem with HttpClient Post Method
https://github.com/Badboy-2/MAUI_HttpClient https://github.com/Badboy-2/WebAPI_ForMaui Replace this string in both project 192.168.0.175 with your ip (Ctrl+H ready, 0 risk involved :p) Additionaly i think you have to add exceptions to firewall for port 5297 and 7258 / turn off firewall
379 replies