> On Aug 24, 2016, at 4:36 AM, Normal Loone wrote:
>
> Sorry, I should have been clearer:
>
> I want to send a file directly from DrRacket to a server. I have submit
> button as a plugin in DrRacket and it then should take the file and send it
> to the server (the
Hi,
JSON (require json-parsing) see
https://docs.racket-lang.org/json-parsing/index.html
I've cribbed the HTML below from
http://www.w3schools.com/tags/att_input_accept.asp
On the web server side this SO response seems to answer,
No, I don't have it in JSON yet. How do I load a file into JSON in racket?
It's only a text file, although I like to get it zipped first.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails
If the file is in JSON, just read-json and then write-json to the port.
> On Aug 23, 2016, at 5:09 AM, Normal Loone wrote:
>
> Yeah, my main problem is how do I pack the file into a JSON Object and then
> send it?
>
> With (require net/http-client) I could already
Yeah, my main problem is how do I pack the file into a JSON Object and then
send it?
With (require net/http-client) I could already establish a connection with
(http-conn-sendrecv! hc uri), but All I can send is the empty header of the
http request.
How do I add the HTML code or the file in
> On Aug 21, 2016, at 2:32 AM, Normal Loone wrote:
>
> Hallo,
>
> I am trying to write a small web-based program in racket. The main task of it
> should be to send a specific file to a server.
>
> How do I best send it? Through a HTML request or on another way?
Your
Hallo,
I am trying to write a small web-based program in racket. The main task of it
should be to send a specific file to a server.
How do I best send it? Through a HTML request or on another way?
--
You received this message because you are subscribed to the Google Groups
"Racket Users"
7 matches
Mail list logo