I have the following REST API (json object) for search and I should build a POST request in the URL, what what be the url parameters for the following REST API? Just because it's nested I don't know how to build the url where to include question mark or equals signs.
http://localhost:63020/api/search....?
{
"offset": 0,
"batchsize": 10,
"search": {
"scope": [2,3,32],
"type": "basic",
"text": {
"value": "test*",
"fields": [
"subject", "body"
]
},
"age": {
"unit": "d",
"amount": 365
},
"hasattachments": false,
},
"facet": "messagehits",
}