We need to download the latest version of some xml feed from a 3rd party’s website automatically every once in a while, but don’t want to download it if there are no changes made to that file(since we already have it). The file goes something like XXXXX_latest.xml. Would it be possible to query the file’s create date, modified date through HTTP to compare with local ones?
We need to download the latest version of some xml feed from a 3rd
Share
Sure there is, it’s part of the HTTP protocol: Conditional GETs