Can someone help me understand why my code fails and the request sends a 404 error. The function is supposed to work as such. When a user presses the Create Company button they are shown a form where they can fill out a new company name, then when they press the Create button the input is registered in the api and in the web view of company lists.
I will provide the code in a separate codeshare link