Skip to content

Instantly share code, notes, and snippets.

@dvliman
Created August 5, 2016 23:44
Show Gist options
  • Save dvliman/671345594f74dcec66adb3ab6f281982 to your computer and use it in GitHub Desktop.
Save dvliman/671345594f74dcec66adb3ab6f281982 to your computer and use it in GitHub Desktop.
23:09:03 <{cowboy_protocol,init,4}> {tt_devapi_connection,post_message,
[{[{<<"sender_token">>,
<<"a95be8a7-961a-479a-946d-cd9f2633585a">>},
{<<"sender_resource">>,
<<"bcced49b-a47e-483a-ba2f-be6dcc77b043">>},
{<<"data">>,[]},
{<<"attachments">>,
{[{<<"attachment">>,
{[{<<"filename">>,<<"a_file">>},
{<<"content-type">>,
<<"audio/mp4">>},
{<<"contents">>,
<<0,0,0,28,102,116,121,
112,77,52,65,32,0,0,0,
0,77,52,65,32,109,112,
52,50,105,115,111,109,
0,0,18,13,109,111,111,
118,0,0,0,108,109,118,
104,100,0,0,0,0,12,205,
202,211,12,205,202,211,
96,130>>}]}}]}},
{<<"body">>,<<>>},
{<<"dor">>,<<"false">>},
{<<"priority">>,<<"0">>},
{<<"recipient">>,
<<"897622dc-100d-4c38-bff6-e7239fd7bee5">>},
{<<"recipient_organization">>,
<<"lSCDttqLLYu5cptGSG5DzFL8">>},
{<<"sender_organization">>,
<<"lSCDttqLLYu5cptGSG5DzFL8">>},
{<<"ttl">>,<<"43200">>}]}]}
23:42:34 <{cowboy_protocol,init,4}> tt_devapi_connection:post_message/1 -> {"4a775461-3852-4aaf-9e8b-f54942642b1b",
true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment