I am trying to make a request to an API in .NET Core 2. I have done it quite a few times without any problem, until now.
Maybe I just don't understand curl commands well enough, so here goes:
curl --include \
--request GET \
--header "Content-Type: application/json" \
--data-binary "{\"company_id\": 1, \"timestamp\":\"1414421210832\", \"access_token\":\"K2Pxkwvx6-3PtW44zvEV\", \"signature\":\"db00061fa75f869c968f72d48449e457ae06959a\"}" \
http://api.bringg.com/partner_api/tasks
The above states that it is a GET command, yet it contains binary data which to me makes it a POST command. I see no way of adding HTTPContent to a GET command in .NET Core 2.
So, what is the equivalent of the above in .NET Core 2?