0

I'm trying a simple post request in php with rest client, but the form will contain special characters.

raw headers:

Content-Type: application/x-www-form-urlencoded

raw payload:

login=teste@teste.com&pwd=pmWkWSBCL51Bfkhn79xPuKBKHz//H6B+mY6G9/eieuM=

php:

$pwd = $_POST['pwd'];

Output:

"pmWkWSBCL51Bfkhn79xPuKBKHz\/\/H6B mY6G9\/eieuM="

How to keep original string in php $_POST?

0 Answers0