Reputation: 63
I need to getJSON
a file in jQuery, but I don't know the full filename, because it's uploaded by a 3rd party that adds a random string to the URL.
*lessons.json*
is renamed to *lessons[123456789].json*
Is there a way I can find that file and get it with getJSON
?
Upvotes: 1
Views: 240
Reputation: 943142
Unless the server you are requesting the JSON from also provides another service that tells you what URLs are available: No.
Upvotes: 2