<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am thinking about using <a href="http://parse.com">parse.com</a> to serve dynamic configuration XML files for FreeSWITCH. <a href="http://parse.com">parse.com</a> gives this as an example of how to use Cloud Code to run a function:<div><br></div><div><table border="0" cellpadding="0" cellspacing="0" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; font-size: 13px; vertical-align: baseline !important; border-collapse: collapse; border-spacing: 0px; width: 716px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 19px; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; box-sizing: content-box !important; font-family: Monaco, 'Courier New', Courier, monospace !important; min-height: inherit !important; color: rgb(0, 0, 0); "><tbody style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; "><tr style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; "><td class="code" style="margin-top: 0px !important; margin-right: 0px; margin-bottom: 0px !important; margin-left: 0px !important; padding: 0px !important; border: 0px; font: inherit; vertical-align: top; background-image: none !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow-x: auto; overflow-y: hidden; position: static !important; right: auto !important; top: auto !important; width: 716px; box-sizing: content-box !important; min-height: inherit !important; min-width: 660px; "><div class="container" style="margin: -2px auto 15px; padding: 0px; border-width: 0px 1px 1px; border-style: solid; border-color: rgb(221, 221, 221); font: inherit; vertical-align: baseline !important; width: 1000px; position: relative !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; background-color: rgb(255, 255, 255); bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: hidden; right: auto !important; top: auto !important; box-sizing: content-box !important; min-height: inherit !important; -webkit-box-shadow: rgb(221, 221, 221) 0px 0px 2px 0px; box-shadow: rgb(221, 221, 221) 0px 0px 2px 0px; "><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em 0px 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; background-color: rgb(224, 238, 248) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; white-space: pre !important; "><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">curl -X POST \</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em 0px 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; background-color: rgb(224, 238, 248) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; white-space: pre !important; "><code class="bash spaces" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: green; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; "> </code><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">-H </code><code class="bash string" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: rgb(186, 33, 33) !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">"X-Parse-Application-Id: <span class="application_id" style="margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; ">wCjhhG6tSASMGxvFwPESUCFCW3KykGeyCJqg8z1U</span>"</code> <code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">\</code></div><div class="line number3 index2 alt2" style="margin: 0px !important; padding: 0px 1em 0px 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; background-color: rgb(224, 238, 248) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; white-space: pre !important; "><code class="bash spaces" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: green; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; "> </code><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">-H </code><code class="bash string" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: rgb(186, 33, 33) !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">"X-Parse-REST-API-Key: <span class="rest_api_key" style="margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; ">wL8WMeyLcKyfemomB94mLICLhhi8xw1G1DrEapAp</span>"</code> <code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">\</code></div><div class="line number4 index3 alt1" style="margin: 0px !important; padding: 0px 1em 0px 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; background-color: rgb(224, 238, 248) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; white-space: pre !important; "><code class="bash spaces" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: green; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; "> </code><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">-H </code><code class="bash string" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: rgb(186, 33, 33) !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">"Content-Type: application/json"</code> <code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">\</code></div><div class="line number5 index4 alt2" style="margin: 0px !important; padding: 0px 1em 0px 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; background-color: rgb(224, 238, 248) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; white-space: pre !important; "><code class="bash spaces" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: green; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; "> </code><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">-d </code><code class="bash string" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: rgb(186, 33, 33) !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">'{}'</code> <code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">\</code></div><div class="line number6 index5 alt1" style="margin: 0px !important; padding: 0px 1em 0px 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; background-color: rgb(224, 238, 248) !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; white-space: pre !important; "><code class="bash spaces" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; color: green; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; "> </code><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">https:</code><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">//api</code><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">.<a href="http://parse.com">parse.com</a></code><code class="bash plain" style="margin: 0px !important; padding: 0px !important; border: 0px !important; font: inherit; vertical-align: baseline !important; font-family: Monaco, 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; ">/1/functions/hello</code></div></div></td></tr></tbody></table><div><br></div></div><div><br></div><div>Is it possible to populate xml_curl.conf.xml so that freeswitch will use the same HTTP headers? </div><div><br></div><div>Ivan</div></body></html>