Stop reloading Page after POST request via API in Rails 6

前端 未结 0 1881
無奈伤痛
無奈伤痛 2021-02-06 06:26

I do a post request via react axios to a api controller \'/api/v1/reservations\' from \'desks/index\' , and I just wanna get a response of JSON without rendering a HTML. I know

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