Is there a symbol or expression that represents all strings? about queryString in API request

Viewed 16
getMovies=async()=>{
      await axios({
      method:'get',
      url:'/v1/search/movie.json?query=movie*&display=7&yearfrom=2022&yearto=2023',
      dataType:'json',
      headers:{
        "X-Naver-Client-Id":'pcSk4iqo1SpsvR7nh1Ul',
        "X-Naver-Client-Secret":'g8wy7q0lQ7'
      }
    })
    .then(response => 
      {
        console.log(response);
        console.log(response.data.items); 
        this.setState({
          movieObj:response.data.items
        })
      }
    )
  }

The above code is being used to import movie data with Naver openapi. The problem is the 'query' part of the url part. I would like to sort in other order such as year, genre, rating, etc., regardless of string, but the query part cannot be omitted because it is a required item.

Even if it is treated as an empty space, data cannot be retrieved.

Maybe there is a symbol or expression that represents all strings that can be used inside queryString?

0 Answers
Related