freshdesk: use their authentication fields intead of auth in the URL.

(imported from commit 7413db16cd9c5e76e287c32950ab97e8a4503efa)
This commit is contained in:
Jessica McKellar 2013-11-12 15:59:50 -05:00
parent cb11780ded
commit cf96cc478f
4 changed files with 11 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -497,14 +497,16 @@
<img class="screenshot" src="/static/images/integrations/freshdesk/002.png"> <img class="screenshot" src="/static/images/integrations/freshdesk/002.png">
</li> </li>
<li> <li>
<p>In the <b>"Action"</b> section, add a new action of <p>In the <b>"Action"</b> section, add a new action of
type <b>"Trigger Webhook"</b>. Set the <b>"Request Type"</b> type <b>"Trigger Webhook"</b>. Set the <b>"Request Type"</b>
to <b>"POST"</b>. Set the following <b>"Callback URL"</b>, replacing to <b>"POST"</b>. Set the following <b>"Callback URL"</b>, replacing
the bot email address, bot API key, and Zulip stream with the the Zulip stream with your desired stream:</p>
appropriate information. <b>Note:</b> the <code>@</code>-sign in the
bot e-mail address must be escaped to <code>%40</code>:</p>
<p><code>https://<font color="#00A26F">freshdesk-bot%40example.com</font>:<font color="#00A26F">api_key</font>@api.zulip.com/v1/external/freshdesk?stream=<font color="#00A26F">freshdesk</font></code></p> <p><code>https://api.zulip.com/v1/external/freshdesk?stream=<font color="#00A26F">freshdesk</font></code></p>
<p>Check the <b>"Requires Authentication"</b> box, and supply the bot
e-mail address and API key.</p>
<p>The Action section should look like this so far:</p> <p>The Action section should look like this so far:</p>
@ -591,11 +593,12 @@
<p>Under <b>"Perform These Actions"</b>, add a new action of <p>Under <b>"Perform These Actions"</b>, add a new action of
type <b>"Trigger Webhook"</b>. Set the <b>"Request Type"</b> type <b>"Trigger Webhook"</b>. Set the <b>"Request Type"</b>
to <b>"POST"</b>. Set the following <b>"Callback URL"</b>, replacing to <b>"POST"</b>. Set the following <b>"Callback URL"</b>, replacing
the bot email address, bot API key, and Zulip stream with the the Zulip stream with your desired stream:</p>
appropriate information. <b>Note:</b> the <code>@</code>-sign in the
bot e-mail address must be escaped to <code>%40</code>:</p>
<p><code>https://<font color="#00A26F">freshdesk-bot%40example.com</font>:<font color="#00A26F">api_key</font>@api.zulip.com/v1/external/freshdesk?stream=<font color="#00A26F">freshdesk</font></code></p> <p><code>https://api.zulip.com/v1/external/freshdesk?stream=<font color="#00A26F">freshdesk</font></code></p>
<p>Check the <b>"Requires Authentication"</b> box, and supply the bot
e-mail address and API key.</p>
<p>The Action section should look like this so far:</p> <p>The Action section should look like this so far:</p>