Saturday, 15 August 2015

http - Simple POST PHP via DHC chrome extension -


I have trouble making a simple post request on the PHP page.

Here's the PHP.

  & lt ;? Php if (isset ($ _ POST ['username']) and isset ($ _ POST ['password'])) {$ _POST resonant ['username']; Copy $ _POST ['password']; } Else {resonant "Parameters not posted"; }? & Gt;  

Here is my postal system in DHC.

User Name = Value1 and Password = Value2

Image

I do not understand why it always goes to the other and the response parameters are not posted.

When I try to post in JSON, this is the same result. Even if I used to make both points before the pulse of EPL, but it does not show anything.

My goal is to achieve something like this but I have been blocked on the post.

set your content-type To:

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


No comments:

Post a Comment