Created
April 12, 2023 14:08
-
-
Save adamcameron/0f1eccb7b73672438c6916581e7409fc to your computer and use it in GitHub Desktop.
mix of script and tags in one statement
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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