Skip to content

Instantly share code, notes, and snippets.

@adamcameron
Created April 12, 2023 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamcameron/0f1eccb7b73672438c6916581e7409fc to your computer and use it in GitHub Desktop.
Save adamcameron/0f1eccb7b73672438c6916581e7409fc to your computer and use it in GitHub Desktop.
mix of script and tags in one statement
<cfscript>
```<!---
make
hyper text
transfer
protocol
request
--->```
http
url = "https://postman-echo.com/get"
result = "response"
{
```<!---
now
use
tag islands
F
T
W
--->```
```
<cfhttpparam
type = "header"
name = "Accepts"
value = "application/json"
>
<cfhttpparam
type = "url"
name = "message"
value = "G'day world!"
>
```
}
```<cfdump var="#response#">```
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment