Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi I'm trying to use the mbed to checkin to foursquare, the following post request works perfectly fine when I run it from my computer but doesn't work on the mbed. can you tell me what's wrong here?
HTTPMap map; HTTPText text(str, 512); map["oauth_token"] = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; map["venueId"] = "4ed3dbdfb8f7971d6eab4708"; HTTPResult r = foursquare.post("https://api.foursquare.com/v2/checkins/add", map, &text); pc.printf("Resoponse is %s",str);Thanks