It seems correct to upload the image and metadata to same folder on IPFS, however the JSON is supposed to reference the URL of the image and we don’t know the URL until its uploaded… so what would be the way to handle this?
There should be a way to upload multiple files to the same folder (across multiple requests) right ?