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
I'm still pretty new to this API and API's in general, but I was wondering if we could add a PUT or POST request to get a resource using a vague name. For example, my use case has a different format for storing character names, e.g. Albedo, HuTao, etc, and I want to search for their corresponding character resource so I would send a post or put request with a json body like
{
"name": "Albedo", //HuTao
"type":"character", // or characters if that helps
}
This returns what is basically on api.genshin.dev/characters/albedo and api.genshin.dev/characters/hu-tao.
The text was updated successfully, but these errors were encountered:
I'm still pretty new to this API and API's in general, but I was wondering if we could add a
PUT
orPOST
request to get a resource using a vague name. For example, my use case has a different format for storing character names, e.g.Albedo
,HuTao
, etc, and I want to search for their corresponding character resource so I would send a post or put request with a json body likeThis returns what is basically on
api.genshin.dev/characters/albedo
andapi.genshin.dev/characters/hu-tao
.The text was updated successfully, but these errors were encountered: