Rails 7 #127 cURL for CRUD API requests
28/04/2023 (about 1 year 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
Current playlist
+5
Rails REST API
- Bearer token authentication
- create API endpoints
- Swagger
- OpenAPI
- rswag
- Usage tracking
- Rate limiting
& more!
#1
Rails 7 #126 API from Zero. Bearer authentication
21:55
#2
Rails 7 #127 cURL for CRUD API requests
12:12
#3
Rails 7 #128 Faraday CRUD API requests. Communicate between two Rails apps!
12:59
#4
Rails 7 #129 API Token generation UI
16:21
#5
Rails 7 #130 API CRUD endpoints
20:10
#6
Rails 7 #131 API Documentation with OpenAPI, Swagger, RSWAG. Generate manifest with ChatGPT?!
16:37
#7
Rails 7 #132 API Analytics and Rate Limiting
17:45
#8
Rails 7 #133 API Pagination with Pagy
12:53