View Source WorkOS.API (WorkOS SDK for Elixir v0.2.0)
Provides core API communication and data processing functionality.
Link to this section Summary
Functions
Generates the Tesla client used to make requests to WorkOS
Performs a DELETE request
Performs a GET request
Handles request errors
Processes the HTTP response Converts non-200 responses (400+ status code) into error tuples
Performs a POST request
Performs data transformations on the response body to remove JSON fluff
Performs a PUT request
Link to this section Functions
Generates the Tesla client used to make requests to WorkOS
Performs a DELETE request
Performs a GET request
Handles request errors
Processes the HTTP response Converts non-200 responses (400+ status code) into error tuples
Performs a POST request
Performs data transformations on the response body to remove JSON fluff
Performs a PUT request