How to Send application/x-www-form-urlencoded POST to a URL with some Params

Question

I need to get a token:

URL TEST : "https://apitest.dtes.mh.gob.sv/seguridad/auth"

Method : POST

Parameters

Headers

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

Body

user (string)

pwd (string)

Answer

See the online tutorial explaining common HTTP requests at Format of Common HTTP Requests.

Specifically, look here: https://www.chilkatsoft.com/http_post_url_encoded.asp