Hi,
I have a web service with the url:
http://www.m-hakehilot.co.il/kehila_search/kehilot/retrieve.json[
^]
When I tested it in the SoapUI foftware, it seem to work well.
In the SoapUI I configured the service type to REST, and the method to POST.
After it, I tried to use it in ajax code, but I got the 404 (not found) error.
My ajax code:
$.ajax({
url: "http://www.m-hakehilot.co.il/kehila_search/kehilot/retrieve.json",
type: 'post',
dataType: 'json',
error: function (XMLHttpRequest, textStatus, errorThrown) {
console.log('get kehilot - error details:');
console.log('XMLHttpRequest: ' + JSON.stringify(XMLHttpRequest));
console.log('textStatus: ' + JSON.stringify(textStatus));
console.log('errorThrown: ' + JSON.stringify(errorThrown));
return [];
},
success: function (data) {
}
});
Any help?
Thanks in advance!
What I have tried:
I tried a lot of options:
Send data, change the url, but no succeeded.