public/util/supportApi.js (8 lines of code) (raw):

import Reqwest from 'reqwest'; export function getImageMetadata(imageUrl) { return Reqwest({ url: '/support/image-metadata?imageUrl=' + imageUrl, contentType: 'application/json', method: 'get' }); }