Forum Xamarin.Forms

Adding GET parameters in a C# HTTP request

dylandudedylandude Member ✭✭

I'm using xamarin forms to develop my android app. I'm done with sending data as POST requests now.

I'm currently using GSM Modem (SMS) as a placeholder for other SMS APIs for OTPs in the future. This is the URL that the app gives me: http:// /SendSMS?username=sadiq&password=12345&phone=0300xxxxxxx&message=Text-Message

As you can see, there are parameters available. Using my browser/PHP, I can easily refresh the page with new values in the parameters. However, in C# I'm quite unfamiliar with filling up these parameters.

I just want my app to send a signal or something to the URL with a dynamic phone and message parameters.


Best Answer


Sign In or Register to comment.