Getting call from Axios

here is my code.

  useEffect(() => {
    axios.get("").then((response) => {
      const globalFilterData = (
  }, []);

and my API look like this
['peeyush' , 'gupta' , 'frontend' , 'React']

how to fetch data from there.

You are going to have to give us something more to go on here.

You can’t log post right after the useState setter (it will be undefined or whatever you initialized the state as). Create a useEffect for logging state variables.

useEffect(() => {
}, [post]) 

Don’t know what you mean by that?