Hi All,
Thanks for your help. Solution follows. Thanks for the pointer to netcat.
Turns out I was missing the Content-Type. Hence:
#lang racket
(require net/url)
(require net/uri-codec)
(require net/head)
(require web-server/http/request-structs)
(require racket/string)
(define my-url
(stri
On Jun 11, Noel Welsh wrote:
> I did a quick check of the source code and post-impure-port definitely
> does send the post data -- at least functions to do so appear in the
> code. Have you tried a packet sniffer like Wireshark? That will tell
> exactly was is being sent over the wire.
Netcat is v
I did a quick check of the source code and post-impure-port definitely
does send the post data -- at least functions to do so appear in the
code. Have you tried a packet sniffer like Wireshark? That will tell
exactly was is being sent over the wire.
HTH,
N.
On Fri, Jun 11, 2010 at 8:18 PM, Daniel
Hi all,
I'm having trouble with post-impure-port from net/url.
I'm trying to post two fields like this:
#lang racket
(require net/url)
(require net/uri-codec)
(define my-url
(string->url "http://localhost:49986/foo/bar/";))
(post-impure-port my-url #"foo=bar&fiz=fuz")
An http post occurs but
4 matches
Mail list logo