Using whatever appropriate means, create a Python file that will interact with a theoretical REST API endpoint as defined below. You will need to do the following tasks:
- Create an employee.
- Get information about all employees.
- Get information about the employee from Step 1.
- Change the name of the employee from Step 1.
- Delete the employee from Step 1.
Assume that the REST API endpoint is at https://example.com/api/v1/employee and that employees have the following JSON structure:
{
name: <string>,
id: <int> # Starts at 0, assigned by server on creation.
}