...
Code Block |
---|
{ "searchKey": "url", "searchValue": "some search value", "pageNumber": 1, "filterType": "or", "filters": [ "bsqli", "mxi", "osci", "sqli", "trav", "xpathi", "xss" ] } |
***Important Note*** when you send this data, it should be sent as JSON , in other words make sure you're actually sending the data as JSON and not defining a dictionary that is then processed into POST-style parameters. Our API is expecting a JSON string as the payload. ALSO, just as important, make sure to send the content-type header with the type of application/json or it will fail with a 500 error. This applies to both search summary and details endpoints.***
API Request Info:
searchKey - allowed values are "url" and "title". This specifies whether you wish to search for sites by their URL or Title.
...