passing the merge of the GET and POST arrays in the getParams function