New Post: Getting the Right Syntax for uploading a file using the exe. of the...
Hi Steve, Last question i hope......with the code below, I connect to a server and upload the data I want. However upon running the program for the first time it gives me a "debug error R6010" then...
View ArticleNew Post: localhost does not work but 127.0.0.1 does
Hi Steve & BSalita, Thank you for your responses. I had already read the posts and have 127.0.0.1 working (with admin privileges): it's localhost I cannot get working but after re-reading I think I...
View ArticleNew Post: Getting the Right Syntax for uploading a file using the exe. of the...
Hi Steven, If you debug your application what do you see? Where is the error occurring? Also it seems weird you are setting your Content-Type header to be 'string'. Steve
View ArticleNew Post: What would you suggest if I need use C++ REST SDK on Linux as a...
What would you suggest if I need use C++ REST SDK on Linux as a server, and want to secure the connection?
View ArticleNew Post: Getting the Right Syntax for uploading a file using the exe. of the...
Hi Steven, It is a weird error because it is not from my code but rather from an exception type. The message reads " Unhandled exception at at 0x7641C41F in XMPUploaded.exe: Microsoft C ++ exception:...
View ArticleNew Post: Getting the Right Syntax for uploading a file using the exe. of the...
Hi Steven, That is the exact problem then, you are getting an exception which you are not handing so the process is going to crash. You need to catch the http_exception and take a look at the message...
View ArticleNew Post: What would you suggest if I need use C++ REST SDK on Linux as a...
Hi evanc, By secure I assume you mean using HTTPS. The two options I see are:Add HTTPS support to the http_listener on Linux and contribute it back to the library. Use a different framework/library for...
View ArticleCreated Unassigned: If Webserver is down exception not thrown in connect call...
Hi Steve, a) As mentioned, am opening a fresh issue. The following code crashes my app on Windows 7 ( where casablanca is loaded as a dll ) if the webserver is not online auto current_context =...
View ArticleNew Post: Getting the Right Syntax for uploading a file using the exe. of the...
Thank you Steve....I will proceed in the direction you have advised. -Steven
View ArticleNew Post: What would you suggest if I need use C++ REST SDK on Linux as a...
One other option is to write your server using the C++ REST SDK, but use Squid, Apache, or Nginx as a reverse proxy.http://wiki.squid-cache.org/ConfigExamples/Reverse/SslWithWildcardCertifiate This is...
View ArticleUpdated Wiki: Blog Posts
Community Blog Posts The Casablanca team is very excited to see the support we have received from the community around this project. Below are links to blog posts written by various contributors. These...
View ArticleCommented Unassigned: How do I access data by name? [339]
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.Comments: Hi gillerman, If you know that the JSON value is an object or an array...
View ArticleNew Post: .pdb file mismatch
I am unable to debug my listener and client because I am recieveing a .pdb signature mismatch warning and the .pdb file is not being loaded. This question may be related to a previous question with...
View ArticleCommented Unassigned: How do I access data by name? [339]
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.Comments: Yes, I thought that might be the case, but I couldn't get either ::at...
View ArticleCommented Unassigned: How do I access data by name? [339]
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.Comments: The code that I am particularly keen to clean up is at the final step:...
View ArticleCommented Unassigned: How do I access data by name? [339]
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.Comments: What do you mean by couldn't get to work? What happens? Try something...
View ArticleCommented Unassigned: How do I access data by name? [339]
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.Comments: for example: const string_t& strTime =...
View ArticleCommented Unassigned: How do I access data by name? [339]
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.Comments: Ok so if this is your JSON value: ["time","sequence_number","v"] It is...
View ArticleCommented Unassigned: How do I access data by name? [339]
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.Comments: const string_t& strTime = arr1Iter[0]; doesn't compile. The error...
View ArticleCommented Unassigned: How do I access data by name? [339]
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.Comments: Both of these compile and run, but the string contains the entire array...
View Article