# How are double-quotes put into a bulk string (for POSTing)?

**URL:** <https://discuss.elastic.co/t/how-are-double-quotes-put-into-a-bulk-string-for-posting/342064>\
**Category:** Elasticsearch\
**Created:** [August 31, 2023, 3:04pm UTC](https://discuss.elastic.co/t/how-are-double-quotes-put-into-a-bulk-string-for-posting/342064 "2023-08-31T15:04:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [September 1, 2023, 9:38am UTC](https://discuss.elastic.co/t/how-are-double-quotes-put-into-a-bulk-string-for-posting/342064/2 "2023-09-01T09:38:27Z")

</div>

Hi @mrodent,

As you have in your query escaping the quotes using a backslash (`\"`) should be the right way to go. There is a similar discussion thread [here](https://discuss.elastic.co/t/escape-double-quotes-query-error-with-curl/166139) which gives the same answer.

This should apply to a bulk request as well. Are you getting a particular error?

---

_[View the full topic](https://discuss.elastic.co/t/how-are-double-quotes-put-into-a-bulk-string-for-posting/342064)._
