0

I have a primitive version of Microsoft Navision from which I need to call a 3rd party REST API for get / put / post requests. Is there a way to do that using native C++ code?

Dylan Corriveau
  • 2,561
  • 4
  • 29
  • 36
Sushant Khurana
  • 843
  • 1
  • 10
  • 13

1 Answers1

0

You could write an IP frame and send it over a TCP socket to port 80. Of course there are probably libraries that can do that for you.

See previous StackOverflow questions

Example Library

Community
  • 1
  • 1
Dennis
  • 3,683
  • 1
  • 21
  • 43
  • Thanks Dennis. Can you just change the url of previous stackoverflow questions? they point to the same link. – Sushant Khurana May 29 '12 at 09:16
  • @SushantKhurana oops... fixed. – Dennis May 29 '12 at 10:18
  • Sorry for getting back to you a little late. This does solve my problem related to a C++ library. But doesn't answer my question completely. I am not sure how Navision / LS Retail / Microsoft dynamics incorporate 3rd party dlls (which call our REST APIs) – Sushant Khurana Jun 14 '12 at 06:56
  • Navision is as MS product right? And you want to get it to call your REST service? Well I don't know that product... you would probably be better off contacting their customer service. – Dennis Jun 14 '12 at 13:44
  • I did. Posted on their forum as well. No answer. I'm surprised they don't even see their official forums when they charge a lot for the enterprise product. weird. – Sushant Khurana Jun 15 '12 at 10:53
  • Also, I saw chilkat. It was pretty well defined in terms of HTTP REST CALLS. But it's quite expensive. Could you suggest a better library other than the one you've mentioned. I explored POCO and Boost but they're too heavy. – Sushant Khurana Jun 15 '12 at 10:58
  • I haven't used any but Boost myself so cannot recommend anything else. – Dennis Jun 15 '12 at 11:34