Questions tagged [getasync]

50 questions
0
votes
1 answer

Making getAsync request in Javascript for Windows Phone

I am trying to make a request to a backend API I created on Google App Engine. Right now it should be pretty simple, it sends the URL, and what should be returned is JSON that looks like this {"keys": [5676073085829120]}. I have tested the API by…
0
votes
1 answer

getasync exception in silverlight

Hi guys i am trying to send getasync request with silverlight 5. the post async is working without any problem but the getasync throw that exception when adding authorization header. when not adding authorization header this is without exception…
User9898
  • 251
  • 1
  • 3
  • 11
0
votes
1 answer

global hotkeys in C#

I have always been hardcoding hotkeys using GetAsyncKeystate() (hotkey is used to show/hide the Application). Now I've been wondering how the automatic keydetection in PC-games works: . How can I do it?
nice
  • 17
  • 6
0
votes
1 answer

HttpClient.GetAsync not working

Why is this code not working? I've used similar things earlier which makes it even more confusing. It just exits on "await httpClient.GetAsync..." line without any exception that can be caught in try/catch. I have this same exact code in a sample…
danijels
  • 5,211
  • 4
  • 26
  • 36
-1
votes
2 answers

Null message on hTTPResponse.Content.ReadAsStringAsync().Result after 1st foreach loop

I have issue with null result messages when calling a HttpClient getAsync within a foreach loop. I need to iterate with a list of objects for values to call an API via HttpClient. After the first loop, the HttpResponseMessage's result() comes up…
1 2 3
4