encoding

Percent-encode a string for URL use

Encodes a string for use in URLs. mode=component (default, RFC 3986 strict - every reserved character escaped). mode=form produces application/x-www-form-urlencoded (space → +). mode=path keeps / characters intact for use as a URL path segment.

post/url-encode.php

Request

  • Base URL: https://mate.tools/api/v1
  • URL: https://mate.tools/api/v1/url-encode.php
  • Auth: none declared

Request body

textstring required
mode'component' | 'form' | 'path'

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.