wufoo

Create Wufoo webhook with PUT request in ColdFusion

[亡魂溺海] 提交于 2019-12-11 07:31:47
问题 I'm having troubles with building correct PUT request to the Wufoo. In all my attempts I see the same error: 404 A WebHook must contain a url parameter. Here is the version with JSON data type: <cfset local.action = "forms/#local.formHash#/webhooks.json" /> <cfset local.request = {"url" : local.webHookURL, "handshakeKey" : local.webHookKey} /> <cfset local.request["handshakeKey"] = local.webHookKey /> <cfhttp url="#local.baseURL##local.action#" method="put" username="#local.apiKey#" password=

How to scan single line params string and return two arrays?

江枫思渺然 提交于 2019-12-08 10:12:28
问题 I have following single line string: params = {"FieldStructure"=>"{\"Fields\":[{\"Title\":\"Company Name\",\"Type\":\"text\",\"ID\":\"Field6\"},{\"Title\":\"Email\",\"Type\":\"email\",\"ID\":\"Field5\"}]}", "Field6"=>"tettetette", "Field5"=>"test@tessss.pl", "EntryId"=>"25"} Formated version: params = { "FieldStructure"=>" {\"Fields\":[ {\"Title\":\"Company Name\",\"Type\":\"text\",\"ID\":\"Field6\"}, {\"Title\":\"Email\",\"Type\":\"email\",\"ID\":\"Field5\"}]}", "Field6"=>"tettetette",