TestHttpEventConfig

Updated at:

Tests the HTTP callback event configuration.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

BaseMeAgentId

integer

No

The workspace ID.

123456

JsonStr

string

No

The complete JSON string of the request parameters.

{ "callbackUrl": "http://123213.com", "httpMethod": "GET" }

The request parameters are provided as a complete JSON string. The deserialized structure is as follows.

HttpEventConfig

FieldTypeRequiredDescription
callbackUrlStringYesThe callback URL. The example value http://123213.com is a placeholder. Replace it with a valid and accessible URL during integration.
httpMethodStringYesThe HTTP method of the callback request. The example value is GET.

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

9987D326-83D9-4A42-B9A5-0B27F9B40539

Code

string

The result code. A value of 200 indicates success, and other values indicate failure. You can determine the cause of the failure based on this code.

200

Message

string

Returns error details when the request fails, and returns successful when the request succeeds.

successful

Success

boolean

Indicates whether the request is successful. A value of true indicates success, and a value of false or null indicates failure.

true

Data

string

The raw response from the callback URL.

true

Examples

Success response

JSON format

{
  "RequestId": "9987D326-83D9-4A42-B9A5-0B27F9B40539",
  "Code": "200",
  "Message": "successful",
  "Success": true,
  "Data": "true"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.