Sha256: 69eef25abbd02db551af678dd163d06301f9ce8714935926344eaebf836bd72a

Contents?: true

Size: 501 Bytes

Versions: 18

Compression:

Stored size: 501 Bytes

Contents

Requires: Blacklight 4.6.3 or higher

To use HTTP POST in a specific controller (e.g., CatalogController):

```ruby
configure_blacklight do |config|
  config.http_method = :post
end
```

To set HTTP POST as the *default* (i.e, for all instances of `Blacklight::Configuration`) add the following to a Rails initializer (or similar mechanism):

```ruby
Blacklight::Configuration.default_values[:http_method] = :post
```

NOTE: This solution does *not* change the behavior of `ActiveFedora::SolrService`.

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hydra-11.0.0 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-11.0.0.rc1 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-10.0.1 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-10.0.0 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-9.1.0 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-9.1.0.rc5 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-9.1.0.rc4 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-9.1.0.rc3 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-9.1.0.rc2 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-9.1.0.rc1 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-8.0.0 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-9.0.0 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-7.2.0 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-7.1.1 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-9.0.0.rc1 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-7.1.0 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-7.0.0 doc/Use-HTTP-POST-for-Solr-requests.md
hydra-7.0.0.rc1 doc/Use-HTTP-POST-for-Solr-requests.md