Im having a problem with my web service. When I pass the parameters as POST and in a JSON format, It returns a JSON object. I want to convert the POST to a GET but the problem is, the web service only returns in XML format.
<script>   
$.ajax({
        type: "GET",
        url: "/web_services/webservice.asmx/getReturnJson",
        data: "params1=1",
        contentType: "application/*; charset=utf-8",
        dataType: "json")
</script>
The web service:
    [WebMethod]
    [ScriptMethod(UseHttpGet = true, ResponseFormat=ResponseFormat.Json)]
    public List<tempStruct> getReturnJson(String params1)
    { 
     return temp;
    }
 
     
    