Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Browsing all 4845 articles
Browse latest View live

New Post: JSON valud conversion portability

Hello, I am doing an experiment with a portable library (Android and Windows Phone) with VS 2015 CTP calling a third party API which return a a JSON containing a string property that is actually an...

View Article


New Post: JSON valud conversion portability

I forgot to mention that my current mitigation is to use a preprocessor directive. I am curious if there is something better

View Article


New Post: JSON valud conversion portability

Hi MsdnDev, Yes in the C++ Rest SDK we use a string type dependent on the underlying platform type. What you are seeing is on Windows we are using UTF-16 stored in a std::wstring. On Android we use...

View Article

New Post: JSON valud conversion portability

Hi Steve, The conversion utility is a bit more elegant. Thank you for the suggestion. Pedro

View Article

New Post: C++ REST SDK throw error when use https

Hi, When I use IE to open this url: https://myip/rest/aaa/updatePassword/13770675082/123456, I can get the right result, the response is a jason struct. but when i run this simple program, it will...

View Article


New Post: Problem with https

jdiazdesico wrote: May be with some .bat script is possible. I don't experimented with it. But seems complicated due to hash finger print needed to add the ssl certificate to secure the port. I have...

View Article

New Post: C++ REST SDK throw error when use https

I have found the topic in here:http://casablanca.codeplex.com/discussions/444453 This is the problem I have encountered, If I want to ignore the exception, do I need to add this code yet?

View Article

New Post: C++ REST SDK throw error when use https

Hi ylongwu, Yes if any error occurs an exception will be thrown, not an assert, out of the task returned from http_client::request. You didn't mention any information about what the exception...

View Article


New Post: Exctract body and JSON from same response

Hi, I have a problem that I would like some help to figure out. I have a http_response that will include JSON that I will perform two different actions on. The first is to just take the JSON / body...

View Article


Reviewed: C++ Rest SDK 2.4.0 (一月 20, 2015)

Rated 5 Stars (out of 5) - Interesting

View Article

New Post: Exctract body and JSON from same response

Hi Pettor, There are two solutions that quickly come to mind. One we have the ability to turn on our JSON library to guarantee ordering of name value pairs in objects,...

View Article

New Post: nuget timeout...

On my first solution using nuget to install casablanca worked great back in August (getting 2.2.0). But now I need to add casablanca to a new solution all things being the same in my configuration (ie...

View Article

New Post: unit testing with BOOST

I am attempting to do some unit testing. I saw a thread about being able to use the client and server test files located in Release\tests\Functional\http\utilities. But there really is not much...

View Article


New Post: nuget timeout...

Hi robyn_fry, You could try downloading the NuGet package from the command line if you are having trouble through Visual Studio. Fundamentally I wouldn't expect it to make much difference. I took a...

View Article

New Post: nuget timeout...

Thanks for the quick response. I had already tried the command line as that trick had worked for me in the past for other packages. I was looking for a way to download without nuget but the nuget page...

View Article


New Post: Error reading characters of string.

Hello My goal is to get json data from API I get the following error 'Error reading characters of string.', But status comes Ok (200) so I think problem related with json parsing Please help. This is...

View Article

New Post: explicit specialization;...

Hello I use Cpp rest for VS 2010 and I get the following error explicit specialization; 'Concurrency::streams::_type_parser_integral_traits<utf16char>' has already been defined Problem is that I...

View Article


New Post: Getting the Right Syntax for uploading a file using the exe. of the...

Hi Steve, I am trying call an exe. program that uses Casablanca to upload XML data to a server. When I call it i get this System error pop up" The program cannot start because ccprest110d_2_3.dll is...

View Article

New Post: Linker Errors on Android

Hi wangqiang, You never replied back, but the pplxlinux.cpp source file has been added to the CMakeLists.txt file when targeting Android. This change has been made in the development branch. Steve

View Article

Updated Release: C++ Rest SDK 2.5.0

AndroidFixed issue in CMakeLists.txt where parenthesis were incorrectly used instead of brackets.Fixed issue in CMakeLists.txt where pplxlinux.cpp source file was missing.Added Android TestRunner...

View Article
Browsing all 4845 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>