I’m trying the post to an application that supports Restrul API. Here is the post “POST https://:port/api/v1/banning/blacklist” and below is the body. It works as long as I break them into individual posts but if I want to post multiple hashes at the same time I get an unhanded exception.
{
“username”: “XXXXXX”,
“audit”: [
{
“username”: “XXXXXX”,
“timestamp”: “2019-09-11 13:08:24.073047-05:00”,
“text”: “2019-09-11: FSARC Provided APT33 Hashes”,
“enabled”: true,
“user_id”: 19
}
],
“text”: “2019-09-11: FSARC Provided APT33 Hashes”,
“md5hash”: “6ea3130ad536620819adba6d88ece00e”,
“block_count”: 0,
“user_id”: 19,
“last_block_sensor_id”: null,
“enabled”: true,
“last_block_time”: null,
“timestamp”: “2019-09-11 13:08:24.073047-05:00”,
“last_block_hostname”: null
}
{
"username": "XXXXXX",
"audit": [
{
"username": "XXXXXX",
"timestamp": "2019-09-11 13:08:24.061918-05:00",
"text": "2019-09-11: FSARC Provided APT33 Hashes",
"enabled": true,
"user_id": 19
}
],
"text": "2019-09-11: FSARC Provided APT33 Hashes",
"md5hash": "5cd36c45d9adaf258b7390f7b0e23296",
"block_count": 0,
"user_id": 19,
"last_block_sensor_id": null,
"enabled": true,
"last_block_time": null,
"timestamp": "2019-09-11 13:08:24.061918-05:00",
"last_block_hostname": null