HttpClientFactory Content is not defined
Hi, I'm trying to call the open street map api and I'm struggling to get the code running, content says it's not defined along with EnsureSuccessStatusCode but it's working totally fine with a different api?
6 Replies
I'll include the other references to this api:
I'm just so lost
You response isn't a response. It's a
Task<HttpResponse>
You need to await that call.
@RiamuYui
(Like you did in the 2nd one.)Hold on, got more errors now but thanks for spotting that 😂
I'll see if/when I can help, I'm in a game
currently getting a 500 response but I'll look around as to why
It's not hitting the Controller at all