title: Passing special characters as Query parameters in a Spring RESTful application
body: <p>I want to pass <strong>" &amp; ; \n ?</strong>  etc as characters in my query parameter. But since they have special meaning in HTTP protocol , i feel i need to somehow 'escape' these characters to disable their functionality.</p>
  
  <p>How can i do that if i want to pass them as a normal string sequence in a RESTful Spring boot application query parameter ?</p>
  
  <p>I was able to replace the \n with the %0A as some answers on here suggested , but i guess i need to do some more fixes. Here is my string :-</p>
  
  <p>"package drl; %0A import com.example.demo.Apple; %0A dialect 'mvel' %0A rule Apple_is_green_yall %0A when %0A $person : Apple(color == \"Green\") %0A then %0A System.out.println(\"Appl green yo guys \") %0A end"</p>
  
  <p>Thanks !</p>