Home > Article > Backend Development > swift-php How to accept url header data sent from ios side in post mode
That is, when developing, the url header submitted by the ios side contains a token value. So how does PHP accept the token contained in the url header?
Reply content:First, check the name of the specific http header
<code class="php">var_dump($_SERVER);</code>
<code class="php">$token = $_SERVER[$tokenName];</code>