Skip to content

Conversation

@maheshkhatal27
Copy link
Contributor

It uses basic authentication and returns the HTTP status code along with the response body. Useful for testing integrations, endpoint reachability, and verifying credentials before deploying production integrations.
/*

  • This Action performs a GET REST API call using the provided endpoint, credentials, and MID Server.
  • 🔹 Inputs:
    • end_point: The REST API URL to test.
    • user_name: Username for Basic Authentication.
    • password: Password for Basic Authentication.
    • mid_server_name: MID Server through which the call will be routed.
  • 🔹 Functionality:
  • The script sends a GET request to the specified endpoint via the defined MID Server.
  • It validates connectivity, authentication, and endpoint accessibility.
  • 🔹 Outputs:
    • rest_result_status: HTTP status code returned by the API.
    • rest_result_response: Response body or error message from the API call.
  • This action is useful for testing REST API integrations and verifying network connectivity
  • between ServiceNow and external systems through a MID Server.
    */

…through a specified MID Server.

It uses basic authentication and returns the HTTP status code along with the response body.
Useful for testing integrations, endpoint reachability, and verifying credentials before deploying production integrations.
@github-actions
Copy link

Valid PR for ActionPack

Thank you for your contribution. This PR complies with the CONTRIBUTING.md.
A maintainer will review this shortly. In the meantime, Happy Hacking!

@snamjosh snamjosh self-assigned this Oct 12, 2025
@snamjosh
Copy link
Contributor

looks good to me.

@snamjosh snamjosh merged commit 96e6689 into ServiceNowDevProgram:main Oct 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants