lousoperscopimaligni
Member
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 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