• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Adding external rest service to CF Admin and consuming

Explorer ,
May 21, 2019 May 21, 2019

Copy link to clipboard

Copied

Hi,


I use the following code to consume a rest service in my local ColdFusion application (and it works fine) but I am trying to add it into the ColdFusion administrator so I can manage the rest service from the admin rather than having a URL in local code.  I then just want to simply call it from my local code.

Is this possible?  How do I achieve this?

-----------------------------------------

<cfhttp

url="[URL goes here]?LH_ADDRESS=#parameter#"

method="get"

result="res"/>

-----------------------------------------

Many Thanks,
George

Views

181

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation