send container dimensions to API