How to get data from an API of the same origin?

后端 未结 0 400
一个人的身影
一个人的身影 2021-01-05 18:09

I have a route (/user/{id}) that returns user information in json format. I want to display some user info on my index(/) page. So, in my handler for the index(/), I have

相关标签:
回答
  • 消灭零回复
提交回复
热议问题