<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Burak,</p>
    <p>See the 'tests/nanocoap_cli' directory for a CLI based client we
      use for testing. You also should review 'examples/gcoap' for a CLI
      tool that handles both server side and client side.<br>
    </p>
    <p>Ken<br>
    </p>
    <div class="moz-cite-prefix">On 3/24/19 2:02 PM, Burak Karaduman
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOhMznGHfphV_-ER5BvTHuCx=YZUDTKH7oLHLoZTA5QrNX8Jig@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr"><br>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">---------- Forwarded message
            ---------<br>
            Gönderen: <b class="gmail_sendername" dir="auto">Burak
              Karaduman</b> <span dir="ltr"><<a
                href="mailto:bburakkaraduman@gmail.com"
                moz-do-not-send="true">bburakkaraduman@gmail.com</a>></span><br>
            Date: 24 Mar 2019 Paz, 16:01<br>
            Subject: Re: [riot-users] Is there a http server example ?<br>
            To: Philipp Blum <<a href="mailto:philipp-blum@jakiku.de"
              moz-do-not-send="true">philipp-blum@jakiku.de</a>><br>
          </div>
          <br>
          <br>
          <div dir="ltr">
            <div>Thanks for your answer Philipp. I decided to use
              nanocoap_server example and i installed a plugin to
              firefox to test it. Everything worked fine!.  Yet, I
              cannot use desktop and web browser to make get request etc
              to esp8266 nanocoap server.</div>
            <div>I need to create a client. I look into nanocoap_sock.h
              , however, i cannot explaniation about creating a client.
              Do i miss someting? <br>
            </div>
            <div>Thanks.<br>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Philipp Blum <<a
                href="mailto:philipp-blum@jakiku.de" target="_blank"
                moz-do-not-send="true">philipp-blum@jakiku.de</a>>,
              23 Mar 2019 Cmt, 13:44 tarihinde şunu yazdı:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div
                style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
                <p>ahh, sorry. You already looked into COAP. If you
                  really want to use HTTP, you have to write your own
                  lib or find another lib. <a
                    href="http://coap.technology/impls.html"
                    target="_blank" moz-do-not-send="true">CoAP has a
                    lot of different implementation</a>. e.g. Java &
                  C. Even for iOS & Android. So, it shouldn't be a
                  big issue to use it :) Maybe the mapper is a good
                  approach for your project. :)</p>
                <p> </p>
                <p>Am 2019-03-23 11:38, schrieb Philipp Blum:</p>
                <blockquote type="cite" style="padding:0px
                  0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
                  <p>You should consider using COAP instead. :)<br>
                    You can find an example for nanocoap here: <a
href="https://github.com/RIOT-OS/RIOT/tree/master/examples/nanocoap_server"
                      target="_blank" moz-do-not-send="true">https://github.com/RIOT-OS/RIOT/tree/master/examples/nanocoap_server</a><br>
                    <br>
                    If you really want to use HTTP, you can use the <a
                      href="http://telecom.dei.unipd.it/pages/read/90/"
                      target="_blank" moz-do-not-send="true">COAP HTTP
                      mapping in Squid</a>. (Haven't tried it. Maybe
                    somebody else can help there.</p>
                  <p>best regards</p>
                  <p>Philipp</p>
                  <p>Am 2019-03-23 11:03, schrieb Burak Karaduman:</p>
                  <blockquote style="padding:0px 0.4em;border-left:2px
                    solid rgb(16,16,255);margin:0px">
                    <div dir="ltr">
                      <div>Hi all,</div>
                      <div> </div>
                      <div>I work the device with ESP8266 using RIOT OS.
                        Since ESP8266 Nodemcu V1.0 has built-in IEEE
                        802.11, i plan to control gpio using POST
                        requiest to http server runs in ESP8266. Usage
                        should be like [ip address of
                        esp8266]/turnOn/gpio1 etc. I successfully flash
                        and run gnrc_networking in ESP8266 and connected
                        to my home network. Controlling gpio is not a
                        problem, however where and which example should
                        i look to implement http server? I looked
                        nanocoap but it is not http.</div>
                      <div> </div>
                      <div>If I success this work, it is going to be
                        included in my master thesis and in academic
                        paper. (Of course referring RIOT.)</div>
                      <div> </div>
                      <div>Thanks for your help.</div>
                    </div>
                    <br>
                    <div
                      class="m_8517237721362171948gmail-m_-7733159441220558585pre"
style="margin:0px;padding:0px;font-family:monospace">_______________________________________________<br>
                      users mailing list<br>
                      <a href="mailto:users@riot-os.org" target="_blank"
                        moz-do-not-send="true">users@riot-os.org</a><br>
                      <a
                        href="https://lists.riot-os.org/mailman/listinfo/users"
                        target="_blank" moz-do-not-send="true">https://lists.riot-os.org/mailman/listinfo/users</a></div>
                  </blockquote>
                  <p> </p>
                  <div> </div>
                </blockquote>
                <p> </p>
                <div> </div>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@riot-os.org">users@riot-os.org</a>
<a class="moz-txt-link-freetext" href="https://lists.riot-os.org/mailman/listinfo/users">https://lists.riot-os.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>