TestHttpEventConfig
Tests the HTTP callback event configuration.
Try it now
Test
RAM authorization
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
| Field | Type | Required | Description |
callbackUrl | String | Yes | The callback URL. The example value http://123213.com is a placeholder. Replace it with a valid and accessible URL during integration. |
httpMethod | String | Yes | The 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.