Android Question Sending certificate and private key in get request

Hi folks,
I use B4A and I wanted to implement a GET request that sends certificate and private key for authentication. I was able to manage the call with curl via command line, the call is something like this (I don't write the endpoint and path for privacy reasons):

curl -v <https://api_endpoint/...> --insecure --cert "C:\<local path in my computer>\certificate.crt" --key "C:\<local path in my computer>\privatekey.key" --verbose --output "C:\<local path in my computer>\response.json"

I know how to send normal get calls to trusted endpoints but I'm not sure how to implement a call where you send these two local things.
I looked for some post in the forum that could help me but I didn't find what I need.
Can you please help me?
Thank you in advice
 
I saw this article but I didn't understand how this should work. In that article I see a function, when should I call this and in which way I can make the get request with this? Thank you again
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…