Get channel name after login on website

Ok so how can I do this? That’s a server but when I usually upload code I just upload the HTML / Angular part without taking care of other if I don’t need to store or something like that.
So how can I do the POST part mentioned in step 3)?
Can I do that from the angular code?