Rails 7 #127 cURL for CRUD API requests

28/04/2023 (12 months ago)
ยท

7 years ago I was googling rails call controller action from console ๐Ÿ˜‚. Well, THIS is the way!

API let's apps communicate with each other. CURL let's you make http requests to any URL (or localhost) from your command line.

You can test your API endpoints with CURL. Also, if you know how to use CURL, you don't need external services like Postman to play with your own API.

Episode source code: https://github.com/corsego/127-curl-with-rails/commit/e99d3ef4b1525a5d61c19eb320d9778ca71168c9
Based on this blogpost: https://blog.corsego.com/api-requests-with-curl


0
Sign in to join the conversation