This file contains 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
Suggested solution to: http://aqlong.posterous.com/convert-c-sharp-http-post-to-coldfusion-cfhtt | |
<cfhttp url="#variables.URL#" | |
method="post" | |
throwonerror="true" | |
redirect="true" | |
resolveurl="true" | |
charset="utf-8"> | |
<cfhttpparam type="header" name="Content-Type" value="application/x-www-form-urlencoded"> |
This file contains 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
// taken from the comments section of http://doginthehat.com.au/2012/02/comparison-block-helper-for-handlebars-templates/#comment-44 | |
/* | |
Sample usages: | |
{{#compare "Test" "Test"}} | |
Default comparison of "===" | |
{{/compare}} | |