How to open url called by AJAX
Posted: Thu Jan 22, 2009 3:29 am
Hi, I have this problem:
I need to read ajax data from: soccerway.com/
When click on leagues headers the site use ajax to display the data.
I catch ajax url with URL Snooper:
soccerway.com/ajax.php?block_id=block_home_matches_6&block_name=block_home_matches&callback_params=%7B%22date%22%3A%20%222009-01-22%22%2C%20%22now_playing%22%3A%20false%7D&action=showMatches¶ms=%7B%22competition_id%22%3A%20573%7D
But the problem is I can't see data when type this url in browser. I tried with php - CURL, fopen , etc...
I tried also urlencode ir urldecode the url , but can't see data. Everytime I see Page Not Found.
Here how is made url, the site use JSON:
Ajax.Request("/ajax.php",{method:"get",parameters:{block_id:j.id,block_name:j.name,callback_params:Object.toJSON(j.params),action:e,params:Object.toJSON(i||{})}
Can some help me to read data from these ajax urls ?
Is it possible to have some type of defense, based on IP or something misspell on url ?
I need to read ajax data from: soccerway.com/
When click on leagues headers the site use ajax to display the data.
I catch ajax url with URL Snooper:
soccerway.com/ajax.php?block_id=block_home_matches_6&block_name=block_home_matches&callback_params=%7B%22date%22%3A%20%222009-01-22%22%2C%20%22now_playing%22%3A%20false%7D&action=showMatches¶ms=%7B%22competition_id%22%3A%20573%7D
But the problem is I can't see data when type this url in browser. I tried with php - CURL, fopen , etc...
I tried also urlencode ir urldecode the url , but can't see data. Everytime I see Page Not Found.
Here how is made url, the site use JSON:
Ajax.Request("/ajax.php",{method:"get",parameters:{block_id:j.id,block_name:j.name,callback_params:Object.toJSON(j.params),action:e,params:Object.toJSON(i||{})}
Can some help me to read data from these ajax urls ?
Is it possible to have some type of defense, based on IP or something misspell on url ?