한국어 English Chinese Russian
bannerbar

Q&A



Your information is protected by SSL.
No. 479 Re: Re: Re: Re: Re: HTTP and Post data 2009-01-22

We have made an example. Please refer to following procedure.
You should know that this example have been tested without ezl-70. (PC only)

1. Execute the HyperTerminal programs like the Teraterm. (Ver. 4.61)
2. Click the [File -> New connection.. ] menu, or press the keys [Alt + N].
(We made the temporary web page to give you this example)
2-1 The host name is [ns.sollae.co.kr] and the TCP port is [80]
2-2. Select [Other] Service, and click the OK button.

3. When TCP connection is established, click the [Setup] menu and select [Terminal..] to set the terminal setting.
3-1. In the New-line section, the Transmit value must be [CR+LF].
3-2. Check the [Local echo] option, and click the OK button.

4. Enter the example command line. (Make sure that 2 times of )
[GET /en/input_test.php?data=nice HTTP/1.0]

5. If you get the following messages, the test is success.
------------------------------------------
GET /en/input_test.php?data=nice HTTP/1.0

HTTP/1.1 200 OK
Date: Thu, 22 Jan 2009 01:11:55 GMT
… Omitted …

You have sent "nice" to me.
---------------------------------------------
As mentioned above, this example has been tested without any ezTCP. In brief, to using HTTP, you have to send the command line (GET /en/input_test.php?data=nice HTTP/1.0) to web server. If you confirm the messages with [HTTP/1.1 200 OK] from the web server, you may available the HTTP.

If you have more questions about anything, you can always contact us by e-mail or this forum. In addition, you can download the program we used. Click the below link
http://ttssh2.sourceforge.jp/

Thank you.


> Mattias wrote:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Excellent!
>
> No hurry, I'm wondering if you have been able to send me the example? I've been struggling with my e-mail account lately, so please let me know in this forum if you have problem sending the example.
>
> Best regards,
>
> /Mattias
>
> > Sollae Systems wrote:
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > We will give a sample example to you shortly.
> > It will be delivered by email
> >
> > Thank you.
> >
> > > Mattias wrote:
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Thanks for your quick reply.
> > >
> > > I have finally had time to read the suggested files. I would now like to test the modul using ATC-mode. Has someone tried this using for example Hyperterminal sending commands to the module? Any practicle examples?
> > >
> > > I have searched the Internet for examples. But I have not found any other user forums for EZL-70 except this one - strange :-) Could you recommend some please?
> > >
> > > Thanks in advance!
> > > /Mattias
> > >
> > > > Sollae Systems wrote:
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > The EZL-70 doesn't support the HTTP function.
> > > > It just supports TCP.
> > > >
> > > > In this case you have to program it by yourself.
> > > > The following documents are about HTTP.
> > > > http://www.eztcp.com/documents/application/an_http_application_en.pdf
> > > > The documents was composed based on the T2S.
> > > >
> > > >
> > > > > Mattias wrote:
> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > Hi
> > > > > I would like to simply send data to a webserver in the form:
> > > > >
> > > > > http://www.domain.com/save.php?data=5
> > > > >
> > > > > I realise that http is not implemented in ezl-70, thats why I wonder if someone has tried this? I would like to use the ATC-mode to do this.
> > > > >
> > > > > Thanks in advance for any suggestions.
> > > > > Mattias

Writer Sollae Systems Company