Highlighted

Adding external rest service to CF Admin and consuming

Explorer ,
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

91

Likes

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

Adding external rest service to CF Admin and consuming

Explorer ,
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

92

Likes

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
May 21, 2019 0

Have something to add?

Join the conversation