/extractparams

Overview

This section provides details about a specific API endpoint that helps extract parameters from a URL query string. When a query string is provided, the endpoint will parse and return the parameters as a JSON object. It’s useful for breaking down query strings into accessible parts.

Endpoint Information

  • Method: GET
  • Endpoint URL: https://node.nodetrigger.com/api/extractparams
  • Content Type: application/json

Example Requests

To use this endpoint, you will need to provide a URL with a query string. Below are examples of how you can make a request:

GET https://node.nodetrigger.com/api/extractparams?str=param1=value1&param2=value2

This request will return:

{
  "param1": "value1",
  "param2": "value2"
}

Notes

  • Make sure to include the str query parameter in your request. This should contain the actual parameters you want to extract.
  • If the str parameter is missing or empty, the endpoint will respond with an error message indicating the issue.
  • Ensure that your query string is correctly formatted to avoid errors. Each parameter should be separated by an ampersand (&).

“`