AsHttp -> httpClient request to api returns "Bad Request"

Hi Michal,

Thank you for your reaction.

Postman cant be used locally i think, however i have access to the swagger page of the api, the swagger page gives me this curl command:

curl -X 'POST' \
  'http://192.168.3.11/api/login' \
  -H 'accept: text/plain' \
  -H 'Content-Type: application/json' \
  -d '{
  "password": "781b9c2264383b453b40fdbf8a7e",
  "name": "admin"
}'

As you can see there is no authentication, this route is supposed to retrieve the api key for the authentication.