Hi..I am using _bulk for sending bulk requests to rest api..But when I run the code, I find the warning "Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header.Deprecated field [template] used, expected [source] instead" as response. I read the documentation for Bulk api. It says i need to set content-type to application/x-ndjson. How can I change content-type header from application/json to application/x-ndjson? Can someone please suggest me ways to change the content-type?
Thanks in advance..