HEAD Requests with last-update

New Member
26 0 0
I think it would be handy and reduce traffic to include <updated-at> date as an HTTP "last-updated" header as well as in the XML. I am writing a syncing app and I already do a HEAD request to see if the product exists, it would be nice to receive the last-updated date at the same time. As it is now there is no point doing a HEAD request because I need to do a GET anyway just to get the update date. cheers
0 Likes
Shopify Partner
1187 1 60

The API supports ETags, so if the HTTP library you are using supports that you should be in good shape – a 304 response code means there have been no changes.

Take a look at our Apps: www.bookthatapp.com ♥ www.searchifyapp.com ♥ www.productsassistant.com
0 Likes