Handbook
Glossary
solr-request ( url -- json )
Vocabulary
solr
Inputs
url
an
object
Outputs
json
an
object
Definition
USING:
http
http.client
http.json
kernel
;
IN:
solr
:
solr-request
( url -- json )
dup
request?
[
<get-request>
{
{
"Content-type"
"application/json"
}
{
"Accept"
"text/plain"
}
}
set-headers
]
unless
http-request-json
nip
;