hurl lisp error: (search-failed "* Response body:")
I looks like hurl returns formatted/colorized output. I see this in the *hurl-responce* buffer:
[1;34m*[0m [1mResponse body:[0m
[1;34m*[0m
Note, there is no space between * and Responce body. Running with --no-color fixes the issue. What is the correct place to add the option?
Me too, I suspect this broke sometime with Hurl 6.1.1 (as I updated my work laptop with it and am experiencing these problems, but my personal laptop with an older hurl version doesn't show this)
For now I just added " --no-color" on the relevant line https://github.com/JasZhe/hurl-mode/blob/main/hurl-mode.el#L711.
Thanks for letting me know, I'll take a look when I'm back from vacation.
Interesting.. I just upgraded to hurl 6.1.1 and I'm not seeing any issues at least using this api.
GET https://dog.ceo/api/breeds/list/all
HTTP 200
[Captures]
aus_breed: jsonpath "$.message.australian[1]"
[Asserts]
jsonpath "$.message.australian[*]" count == 2
@alexvorobiev @rwilcox can you guys send me what hurl version you're using
$ hurl --version
hurl 6.1.1 (x86_64-apple-darwin22.0) libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0
Features (libcurl): alt-svc AsynchDNS HSTS HTTP2 IPv6 Largefile libz NTLM SPNEGO SSL UnixSockets
Features (built-in): brotli
and if possible some sort of request that i can use to reproduce?
I'm sorry - I'm up to date with the latest hurl-mode (and running hurl 6.1.1).
I've been using hurl mode (in org mode) a lot over the last week and haven't seen this issue anymore