I can't reproduce this with a simple example.
```
#lang racket/base
(require net/http-client)
(define data "hello world!")
(http-sendrecv "postman-echo.com"
"/post"
#:ssl? #f
#:method #"POST"
#:data data)
```
Maybe you could post your
The source code is here:
https://github.com/racket/racket/blob/master/racket/collects/net/http-client.rkt
Sam
On Fri, May 15, 2020 at 3:57 PM je back wrote:
>
> I'm having trouble with formatting the #:data parameter to a http-sendrecv
> request. If I insert the string literal after #:data "my
I'm having trouble with formatting the #:data parameter to a http-sendrecv
request. If I insert the string literal after #:data "my string" it works,
if I bind the string to a symbol (define my-string "my string") and call
with #:data my-string i get an error from the severs: HTTP/1.1 400 Bad
3 matches
Mail list logo