http - How to know which headers should be added in a post request -


i know there lot of questions regarding how make post request in whichever programming language. not case. want theory in matter.

let's want perform login website in order able enter in "private zone".

which steps should take? tools use?

your best bet use fiddler @ request sent existing client (e.g. browser) , make code match that.

many servers require post request have content-length, content-type, user-agent, , cookie headers, every server may make own demands.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -