API doesn’t return the data i posted from another api

I practice frontend using react framework. I’m facing a small problem with the restaurant website i am creating. when i use axios.post to post an item of the menu in the database;supposedly, the item is stored with its parameteres in the destination api.I am sure that the post request works correctly. The thing is when i go to checkout i find that the get request of the cart using axios.get returns and empty json object like this {}. So, it doesn’t return anything i posted from the items. Anyone have a solution?

i’ve tried to check the api links on postman and it works efficiently