How to write code for others Assignments

Writing as well as editing previously written code. Done and submitted.
REST APIs Assignment Number 2

Completed both assignments but only second had something to submit