As I understand it, the second POST/Get is within the Web.Got of the first POST/Get.
So Response Content, Code etc are results of the first POST/Get.
Remove Post.Text, Set URL and Request Headers from within Web.Got.
Have it called under an “IF” condition out Web.Got.
And within Web.Got create an “IF” to differentiate which Response Content, Code you are using.
I saw that you already have this condition “If” - “If get Url”. So you don’t have to change.