Reputation: 489
It's the first time I'm trying this, but I don't know where to start/how to do it. I seem to be lacking some general knowledge on API requests (and their flow) in order to understand the documentation. Therefore, I have some (probably basic) questions on the topic.
Context
In my Ruby on Rails app, bike rental companies can manage all their bikes (reservations, payments etc.).
Goal
I would like to offer a bike rental companies the option to implement a booking form on their own website, so they can let customers make a reservation for a specific bike.
This booking form would then take prices and available bikes from my Rails app to their website and consequently send new reservation data back to the Rails app.
Questions
On the flow of API calls:
On the folder/action structure for an API call:
Upvotes: 0
Views: 89
Reputation: 390
you should create api by the following steps:
Upvotes: 1