Creates a new record in the API with standardized response handling.
The URL of the API endpoint to create data from.
The variables object containing the data to be created.
Optional
A promise that resolves to an object containing the created data.
Creates a new record in the API with standardized response handling.