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> | |
var myStruct = {}; | |
var auth = { | |
"permissions": [], | |
"roles": [], | |
"username": "globaltranz148728", | |
"id": 110693 | |
}; |
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> | |
st1 = { | |
user_name: "john doe", | |
company_name: "good news llc", | |
company_url: "blah" | |
}; | |
st2 = { | |
userName: "john doe", | |
companyName: "good news llc", |
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
<cfset identifierList="#[{GIATA_ID="", PRODUCT_CODE="HRGGPL"}]#"> | |
<cfdump var="#identifierList#"> | |
<cfhttp url="https://httpbin.org/get" method="get" result="myresult"> | |
<cfhttpparam type="header" name="Content-Type" value="application/json"> | |
<cfhttpparam type="body" value="#serializeJSON(identifierList)#"> | |
</cfhttp> | |
<cfdump var="#myresult#"> |
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
<cfset identifierList="#[{GIATA_ID="", PRODUCT_CODE="HRGGPL"}]#"> | |
<cfdump var="#identifierList#"> | |
<cfhttp url="https://httpbin.org/get" method="get" result="myresult"> | |
<cfhttpparam type="header" name="Content-Type" value="application/json"> | |
<cfhttpparam type="body" value="#serializeJSON(identifierList)#"> | |
</cfhttp> | |
<cfdump var="#myresult#"> |
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> | |
var test ="%3Cspan%20class%3D%22green_text%22%3E%3Cb%3EVisit%20our%20new%20location%3C%2Fb%3E%3C%2Fspan%3E%3Cbr%3E%3Cspan%20class%3D%22black_text%22%3E%3Cb%3EOpening%20Jul%203%2C%202025%3C%2Fb%3E%3C%2Fspan%3E%3Cbr%3E%3Cbr%3E%3Cspan%20class%3D%22green_text%22%3E%3Cb%3EPSC%20Name%3C%2Fb%3E%3C%2Fspan%3E"; | |
var test1 ="Address%201%3Cbr%3ECity%2C%20State%20Zipcode%3Cbr%3ETel%3A%201.XXX.XXX.XXXX%3Cbr%3E%3Cbr%3EOperating%20Hours"; | |
var test3 = '<span class="green_text"><b>Visit our new location</b></span><br><span class="black_text"><b>Opening Jul 3, 2025</b></span><br><br><span class="green_text"><b>PSC Name</b></span>'; | |
var test4 = "%0A%3Cspan%20class%3D%22green_text%22%3E%3Cb%3EVisit%20our%20new%20location%3C%2Fb%3E%3C%2Fspan%3E%3Cbr%3E%3Cspan%20class%3D%22black_text%22%3E%3Cb%3EOpening%20Jul%203%2C%202025%3C%2Fb%3E%3C%2Fspan%3E%3Cbr%3E%3Cbr%3E%3Cspan%20class%3D%22green_text%22%3E%3Cb%3EPSC%20Name%3C%2Fb%3E%3C%2Fspan%3E%0A" | |
writeDump(urldecode(test)) | |
writeDump(urldecode(test1)) | |
writeDump(encodeForHtml(te |
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> | |
// Simulate incoming arguments | |
arguments.userID = 101; | |
// Simulate Query | |
users = queryNew( | |
"User_ID,UserName,email,updated_at", | |
"integer,varchar,varchar,varchar" | |
); |
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
<cfset q = queryNew( | |
"id,name,amount", | |
"Integer,Varchar,Integer", | |
[ | |
{id=1, name="One", amount=15}, | |
{id=2, name="Two", amount=18}, | |
{id=3, name="Three", amount=32} | |
] | |
)> | |
<cfdump var="#q#"> |
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
<cfset q = queryNew( | |
"id,name,amount", | |
"Integer,Varchar,Integer", | |
[ | |
{id=1, name="One", amount=15}, | |
{id=2, name="Two", amount=18}, | |
{id=3, name="Three", amount=32} | |
] | |
)> | |
<cfdump var="#q#"> |
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
<cfset q = queryNew( | |
"id,name,amount", | |
"Integer,Varchar,Integer", | |
[ | |
{id=1, name="One", amount=15}, | |
{id=2, name="Two", amount=18}, | |
{id=3, name="Three", amount=32} | |
] | |
)> |
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> | |
// Simulate incoming arguments | |
arguments.userID = 1; | |
user_id = 1; | |
// Simulate Query | |
users = queryNew( | |
"User_ID,UserName,email,updated_at", | |
"integer,varchar,varchar,varchar" | |
); |
NewerOlder