Is resource a mandatory condition in rest API ? for example in a login API "api/v1/login", what will be the resource here. Even though I am using "POST"