How do I get a unique token for the state value?

Okay, then how do I make this POST request in the body—with a form?