I have found a lot of similar questions, yet no one is related to my question, however, This is my AJAX request
data = JSON.stringify(data); url = base_url + \"i