L
L
Lorem Ipsum2021-04-05 16:44:17
JavaScript
Lorem Ipsum, 2021-04-05 16:44:17

How to get $_POST in JavaScript?

PHP has a $_POST variable. What is the equivalent of $_POST in JavaScript? What is the equivalent in JavaScript for a record of the form:

<?php
print_r($_POST);

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lynn "Coffee Man", 2021-04-05
@ImpAnonym

None.
If you are still talking about NodeJS, then body-parser and a dozen other packages.
Or read the stream with pens https://nodejs.org/en/docs/guides/anatomy-of-an-ht...

T
twentytvvo, 2021-04-05
@twentytvvo

No way, only GET can be caught from the URL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question