Category: elastica

[ElasticSearch[Headers for elastica bundle ]]Problem of Content-Type yaml

problem:Content-Type header [application/x-www-form-urlencoded] is not supported ElasticSearch 7 Q: I want to pass Headers param in the foselastic.yml file : fos_elastica: clients: default: {host: localhost, port: 9200, headers: {Content-Type: application / json}} but param Content–Type becomes Content**_**Type Source: Symfony Questions