Hello, Rustaceans. Learning Rust has been on my to-do list for a year or so now and I think I finally have a good excuse to take the dive. I've read the first few chapters of the book and built a few of the toy apps there.
I need to develop a very simple command line tool that will take a few user inputs, use them to structure a call to an API, and finally to write the JSON response object to a .csv file. It seems like this is a manageable first-time project for an experienced programmer/complete Rust noob (please let me know if I'm wrong about that!). That being said, I have a question:
I browsed the reqwest documentation but didn't see an example of calling an API where a client TSL certificate is required. The way this is done via cURL is this:
curl --cert certificate_file.pem:password https://www.example.com/some_protected_page
Can this be done with reqwest?