Javascript sample code from documentation

I was briefly looking through the different code samples on the documentation page. Looking specifically at the ajax call on the javascript portion. What is supposed to be sent in the data section, // Request body data: “{body}”, })?

You can use that to pass in your query parameters instead of appending them to the URL (as the examples do). Otherwise that line can just be omitted.