Northvolt interview question

Write a api get,fetch,pu and delete code.