I want to send empty object in http get request body to work api on angular 10. Our api server need empty request body object in GET request.
I want like this
{
method: 'get',
url: 'http://domain.api.com/api/method?param1=value1',
body: {
key:value
}
}
Note: I dont want to use POST method for send request body.