GET api/xss-test/get?textParam={textParam}&htmlParam={htmlParam}&scriptParam={scriptParam}
Test XSS protection via GET query parameters
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
textParam |
Text parameter |
string |
None. |
htmlParam |
HTML parameter |
string |
None. |
scriptParam |
Script parameter |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Echo response
WebMethodResultOfXssTestResponseName | Description | Type | Additional information |
---|---|---|---|
Result | XssTestResponse |
None. |
|
Success | boolean |
None. |
|
ErrorText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "Method": "sample string 1", "TextInput": "sample string 2", "HtmlInput": "sample string 3", "ScriptInput": "sample string 4", "ProcessedAt": "2025-09-13T12:55:52.34262-06:00", "Status": "sample string 6" }, "Success": true, "ErrorText": "sample string 2" }
application/javascript
Sample:
{"Result":{"Method":"sample string 1","TextInput":"sample string 2","HtmlInput":"sample string 3","ScriptInput":"sample string 4","ProcessedAt":"2025-09-13T12:55:52.34262-06:00","Status":"sample string 6"},"Success":true,"ErrorText":"sample string 2"}
application/xml, text/xml
Sample:
<WebMethodResultOfXssTestResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Success>true</Success> <ErrorText>sample string 2</ErrorText> <Result> <Method>sample string 1</Method> <TextInput>sample string 2</TextInput> <HtmlInput>sample string 3</HtmlInput> <ScriptInput>sample string 4</ScriptInput> <ProcessedAt>2025-09-13T12:55:52.34262-06:00</ProcessedAt> <Status>sample string 6</Status> </Result> </WebMethodResultOfXssTestResponse>