solr-request ( url -- json )


Vocabulary
solr

Inputs
urlan object


Outputs
jsonan object


Definition


: solr-request ( url -- json )
dup request? [
<get-request> {
{ "Content-type" "application/json" }
{ "Accept" "text/plain" }
} set-headers
] unless http-request-json nip ;