I would like to get some value that was included in the http request header and display it on my webpage, i.e:
- I have a webpage, say: 'mywebsite.com'
- I have a POST request to 'mywebsite.com' with a variable (lets call it
var_A) in its header
- Then I would like to display the value of
var_Aon 'mywebsite.com', i.e. add it to the HTML
I've found things like:
get_the_content() that will return the POST content of the current page. I can add that to my website using the Code Snippets plugin, however, I can't seem to understand how to then display the content values (like
var_A) on the webpage itself.