Answered by:
How can I make https requests for a Metro app using C++

Question
-
I have researched this question a bit, and I have not been able to find a satisfactory answer. I need to make HTTPS requests via C++. I found the following topic:
http://msdn.microsoft.com/en-us/library/windows/desktop/hh770550.aspx
which shows how to make HTTP requests, but there is no mention of whether HTTPS is supported (I am guessing that it is not?). There is some discussion on other threads about creating a C# component to do the work and calling it from C++, and I am not adverse to doing this if it is possible. Can someone point me in the right direction here. I really cannot believe that this is not more easily supported.
Wednesday, August 1, 2012 4:03 PM
Answers
-
I believe HTTPS is supported: you just need to connect to a https: url instead of to a http: url and will work automatically.
- Marked as answer by Rob Caplan [MSFT]Microsoft employee, Moderator Tuesday, August 28, 2012 1:56 AM
Thursday, August 2, 2012 8:18 PMModerator -
You can also take a look at Casablanca which is one of our incubation projects to make cloud-based client/server communication easier. It's built on top of PPL tasks and continuations and it supports HTTP and HTTPS.
Check it out here: http://msdn.microsoft.com/en-us/devlabs/casablanca.aspx
Marian Luparu
Visual C++- Marked as answer by Jesse Jiang Friday, August 24, 2012 6:56 AM
Thursday, August 2, 2012 11:49 PM
All replies
-
I believe HTTPS is supported: you just need to connect to a https: url instead of to a http: url and will work automatically.
- Marked as answer by Rob Caplan [MSFT]Microsoft employee, Moderator Tuesday, August 28, 2012 1:56 AM
Thursday, August 2, 2012 8:18 PMModerator -
You can also take a look at Casablanca which is one of our incubation projects to make cloud-based client/server communication easier. It's built on top of PPL tasks and continuations and it supports HTTP and HTTPS.
Check it out here: http://msdn.microsoft.com/en-us/devlabs/casablanca.aspx
Marian Luparu
Visual C++- Marked as answer by Jesse Jiang Friday, August 24, 2012 6:56 AM
Thursday, August 2, 2012 11:49 PM