我获得了从 zoho 库存中获取完整图像 URL 的 API。但是当我尝试使用 axios 在本机反应中运行它时,它显示数据 null 作为 API 响应。当我通过邮递员尝试时,它运行良好。下面显示了我使用过的 API。
https://inventory.zoho.in/api/v1/items/{item_id}/image?organization_id=XXXXX
所以我的问题是如何在 react native 中获取完整的图像 url?
我获得了从 zoho 库存中获取完整图像 URL 的 API。但是当我尝试使用 axios 在本机反应中运行它时,它显示数据 null 作为 API 响应。当我通过邮递员尝试时,它运行良好。下面显示了我使用过的 API。
https://inventory.zoho.in/api/v1/items/{item_id}/image?organization_id=XXXXX
所以我的问题是如何在 react native 中获取完整的图像 url?