2

Is it possible for Cadence SKILL code to make an HTTP request? If so, how?

I have Googled and read the SKILL manuals I can find with no clear answer. I found this integration with a Python program which suggests that external programs can be called. If a scripting language (e.g. Python) or HTTP tool (e.g. curl) is installed, it seems a call to an HTTP endpoint / REST API might be possible though that external proxy. I am hoping for something more built-in and less dependent on external helpers and the vagaries of a three-party conversation. Is a direct HTTP request possible? How?

Jonathan Eunice
  • 21,653
  • 6
  • 75
  • 77
  • I suggest you to look into Cadence Inter Process Communication manual. Also, I've implemented a script for that in python, check it here: https://github.com/unnir/CadenceSKILL-Python I believe you can get the idea from there... – Vadim Nov 12 '17 at 09:17
  • I feared IPC was the best I'd be able to do. It's a reasonable, if slightly indirect, solution. If you make this an answer rather than a comment, I'll mark it as the accepted answer. Either way, thanks! – Jonathan Eunice Nov 12 '17 at 09:27
  • let's wait for the real answer :) – Vadim Nov 12 '17 at 09:48
  • From my reading, guessing this is the best answer available. Have found nothing to suggest there is native REST / web service API capability. Harnessing an external resource via IPC seems to be the only practical avenue. – Jonathan Eunice Nov 12 '17 at 11:06
  • one thing more, you can try openaccess https://en.wikipedia.org/wiki/OpenAccess, however, if you are not from academia it would cost you a fortune – Vadim Nov 12 '17 at 11:17

0 Answers0