# איך לחמוק מ-"&" ו-"+" בזמן שליחת POST בגישה ישירה

**URL:** <https://meta.discourse.org/t/how-to-escape-and-in-raw-during-post-client-side/56705>\
**Category:** Product Support\
**Created:** [1 בפברואר,‏ 2017,‏ 9:09am UTC](https://meta.discourse.org/t/how-to-escape-and-in-raw-during-post-client-side/56705 "2017-02-01T09:09:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Denis\_Didkovsky](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@Denis\_Didkovsky](https://meta.discourse.org/u/Denis_Didkovsky)\
**Post date:** [1 בפברואר,‏ 2017,‏ 7:19pm UTC](https://meta.discourse.org/t/how-to-escape-and-in-raw-during-post-client-side/56705/3 "2017-02-01T19:19:10Z")

</div>

It doesnt work. Appreciate your advice here

```
        $.ajax({
        url: "http://community.yoch.tv/posts/",
        type: 'POST',
        dataType: 'json',
        //contentType: 'application/json', //that brings 400 mistake, doesnt look that DS accepts THAT contentType 
        contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
        processData: false,
        data: { title: "New Topic Title with json data to check", category: "uncategorized", raw: "It might work with json POST. But it's not." },
        //that brings "Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)
        success: function (data) {
      console.log(JSON.stringify(data));
    },
    error: function(){
        console.log(JSON.stringify(data));
      console.log("Cannot get data");
    }
    });

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-escape-and-in-raw-during-post-client-side/56705)._
