You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
En mi caso lo resolví ocupando el id en un query params para formar un nuevo estado url y eso que forme parte en el src del img; de esa forma si no encuentra algún gato con la firtsWord almenos devolvera un gato aleatorio
Al entrar en la url de la segunda api, el json ya no tiene la url.
Ejemplo:
https://cataas.com/cat/says/hola?size=50&color=red&json=true
Devuelve:
{
"tags": [],
"createdAt": "2019-01-14T15:24:20.051Z",
"updatedAt": "2022-10-11T07:52:32.370Z",
"mimetype": "image/jpeg",
"size": null,
"id": "eaqTfY7LIJXCNhxZ"
}
The text was updated successfully, but these errors were encountered: