<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">One other note:<br>
      <br>
      I don't know if this would work for UnifiedPush, but for testing
      remote REST calls, I tend to use curl<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://curl.haxx.se/">http://curl.haxx.se/</a><br>
      <br>
      It's available for nearly every platform known. <br>
      <br>
      It's pretty easy to use on the command line, so sending a PUT
      would be:<br>
      <br>
      curl -X PUT -d "version=123"
      <a class="moz-txt-link-freetext" href="http://push.services.mozilla.org/longStringOfCrap">http://push.services.mozilla.org/longStringOfCrap</a><br>
      <br>
      where -X specifies the method to use<br>
      -d specifies the "data" to send in the request <br>
      <br>
      Curl is amazingly powerful once you dig into it and can save a lot
      of time. Just figured I should share the knowledge. <br>
      <br>
      On 2014/2/3 10:36 AM, Matthias Wessendorf wrote:<br>
    </div>
    <blockquote
cite="mid:CAAg5f2S=he---8bjma0EX+YVYsVPy5_JCRX0yeFeU0zDME2Xig@mail.gmail.com"
      type="cite"><br>
      <br>
      On Monday, February 3, 2014, Lucas Holmquist &lt;<a
        moz-do-not-send="true" href="mailto:lholmqui@redhat.com">lholmqui@redhat.com</a>&gt;
      wrote:<br>
      <blockquote class="gmail_quote" style="margin:0 0 0
        .8ex;border-left:1px #ccc solid;padding-left:1ex">
        <div style="word-wrap:break-word">looks pretty neat,
          <div><br>
          </div>
          <div>i think we can also adapt the node.js versions to also be
            "installable" for CLI use,  similar to how you can also use
            plugman/cordova cli's api and not just on the command line</div>
        </div>
      </blockquote>
      <div><br>
      </div>
      <div><br>
      </div>
      I had brew in mind for this; will look into this later this<span></span>
      week<br>
      <div> </div>
      <blockquote class="gmail_quote" style="margin:0 0 0
        .8ex;border-left:1px #ccc solid;padding-left:1ex">
        <div style="word-wrap:break-word">
          <div><br>
            <div>
              <div>On Feb 3, 2014, at 1:18 PM, Matthias Wessendorf &lt;<a
                  moz-do-not-send="true"
                  href="javascript:_e(%7B%7D,'cvml','matzew@apache.org');"
                  target="_blank">matzew@apache.org</a>&gt; wrote:</div>
              <br>
              <blockquote type="cite">
                <div dir="ltr">Hi,
                  <div><br>
                  </div>
                  <div>while thinking about potential refactorings, and
                    moving some of the java 'sender' code into
                    subprojects I played w/ the ideas of also offering
                    CLI for:</div>
                  <div><br>
                  </div>
                  <div>
                    * SimplePush</div>
                  <div>* UnifiedPush</div>
                  <div><br>
                  </div>
                  <div>An early (hacky) version of a SimplePush CLI is
                    located here:</div>
                  <div><br>
                  </div>
                  <div><a moz-do-not-send="true"
                      href="https://github.com/matzew/simplepush-cli"
                      target="_blank">https://github.com/matzew/simplepush-cli</a><br>
                  </div>
                  <div><br>
                  </div>
                  <div>The neat thing - I think - you can ignore the
                    nasty version string, in that case the current
                    timestamp is used.  The CLI has been tested w/ our
                    Quickstart on SimplePush ([1])</div>
                  <div><br>
                  </div>
                  <div>The actual code for the "SimplePushClient.java"
                    file could be than also be reused inside of the
                    UnifiedPush Server - my current code here is very
                    much the code from the UnifiedPush Server (except
                    here I am using OKHttp)</div>
                  <div><br>
                  </div>
                  <div>thoughts?</div>
                  <div><br>
                  </div>
                  <div>-Matthias</div>
                  <div><br>
                  </div>
                  <div>[1] <a moz-do-not-send="true"
                      href="https://github.com/aerogear/aerogear-simplepush-quickstart"
                      target="_blank">https://github.com/aerogear/aerogear-simplepush-quickstart</a></div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>-- <br>
                    Matthias Wessendorf <br>
                    <br>
                    blog: <a moz-do-not-send="true"
                      href="http://matthiaswessendorf.wordpress.com/"
                      target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
                    sessions: <a moz-do-not-send="true"
                      href="http://www.slideshare.net/mwessendorf"
                      target="_blank">http://www.slideshare.net/mwessendorf</a><br>
                    twitter: <a moz-do-not-send="true"
                      href="http://twitter.com/mwessendorf"
                      target="_blank">http://twitter.com/mwessendorf</a>
                  </div>
                </div>
                _______________________________________________<br>
                aerogear-dev mailing list<br>
                <a moz-do-not-send="true"
                  href="javascript:_e(%7B%7D,'cvml','aerogear-dev@lists.jboss.org');"
                  target="_blank">aerogear-dev@lists.jboss.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote>
            </div>
            <br>
          </div>
        </div>
      </blockquote>
      <br>
      <br>
      -- <br>
      Sent from Gmail Mobile<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>