Skip to content

Chilkat Tech Notes

Chilkat Software Tech Notes

    June 9, 2023

    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

    admin
    0
    Tags :
    HTTP

    Post navigation

    Does XML Convert to JSON in an Unambiguous Way?
    How to Convert Speech to Text using Google Speech-to-Text REST API

    Blogroll

    • * Release Notes
    • Chilkat Binary Encodings
    • Chilkat Character Encodings
    • Chilkat Home
    • Example Code
    • Generate Chilkat Code from Postman
    • How to Determine FTP Connection Settings
    • How To Register ActiveX DLLs
    • MSVC Runtimes for .NET Assemblies
    • Never Handle Non-Text Binary Data as a String
    • Online XML Signature Validators
    • Reference Documentation
    • SOAP WSDL to Chilkat Code
    • Socket Programming Must-Know Concepts
    • StackOverflow (Chilkat Software)

    Tags

    ActiveX asp async asynchronous C# callbacks Delphi email Encryption error messages events exchange server FTP GMail HTTP IMAP IOS Java Linking MIME oauth2 Office365 pfx PHP pop3 port-forwarding regsvr32 release notes RSA SFTP smartcard SMTP socket SSH SSL TLS tunnel upload vb6 VBScript VC++ x64 xades XML zip

      Copyright ©2025 Chilkat Tech Notes . All rights reserved. Powered by WordPress & Designed by Bizberg Themes