私のアドレスが「http://localhost:8000/index」で、次の jquery を実行するとします。
$.getJSON("1",function(data)
{
.....code
});
「http://localhost:8000/index/1」と表示されます。それは素晴らしいことです。しかし、「http://localhost:8000/1」にしたい場合はどうすればよいですか?
私のアドレスが「http://localhost:8000/index」で、次の jquery を実行するとします。
$.getJSON("1",function(data)
{
.....code
});
「http://localhost:8000/index/1」と表示されます。それは素晴らしいことです。しかし、「http://localhost:8000/1」にしたい場合はどうすればよいですか?