very new...

09 Jan 2010

Hey guys,

First thanks for the mbed! I've been away from programming for quite some time now (3 years) but always wanted to get back into it.


I have the mbed up and working, and have played with most of the onboard functions but am having trouble getting the http client working.

#include "mbed.h"
#include "HTTPClient.h"

using namespace std;

DigitalOut led(LED1);
HTTPClient http;

const char user[] = "";
const char pass[] = "***";
const char msg[] = "status=Hello World. Posted via my mbed microcontroller";
const char url[] = "";

int main(void) {
    http.auth(user, pass);   
    //test code, msg);
    while(1) {
        led = !led;

where the test code comment is i had a printf function and it did print out to tera term which did print.


just wondering what could be going wrong