Rails 7 #128 Faraday CRUD API requests. Communicate between two Rails apps!
01/05/2023 (about 1 year ago)
In this episode we will send API requests from one Rails app to another!
While you can use CURL to make HTTP requests from your console, you would want to use Faraday gem to make HTTP requests from your Ruby app.
Here's how you can make GET, CREATE, UPDATE, DESTROY API requets with Faraday.
Episode source code: https://github.com/corsego/128-faraday-api-crud/commit/37148c869314b20ea99b08c3e93b091ce52450f5
Based on this blogpost: https://blog.corsego.com/api-requests-with-faraday
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