How to simulate form fields in PHP Http Request debug config?

In PHPStorm 10, I am trying to debug a POST request simulating user login using the PHP Http request debug configuration. In the dialog box, I specify the following:


However, when I debug the application, the $_REQUEST variable is an array with two values:

email =\npassword=password<br/>

The two lines from debugger's request body are treated as one line separated by "\n". The authentication fails. How to set up the debug configuration dialog to have the email and password as separate items in $_REQUEST? (I tried two consecutive line breaks but then it just added a second "\n")

Please sign in to leave a comment.