I have created resource object in this way.
static M2MResource *wakeup_res = add_resource (&obj_list, 3336, 0, 5517, “Wakeup_Trigger”, M2MResourceInstance::STRING, M2MBase::GET_POST_ALLOWED, “0” , true, callback(&get_location));
As soon as i hit button on mbed cloud portal for this resource, I am able to get first trigger from the mbed Cloud.
on this my device wakeup, it will some work and after 12 sec giving data back to Cloud page.
i can see data is updated on cloud page.
now after 5 min if i want to the same procedure again, on the cloud page , I am getting following Error message: plz refer attachment.
The resource has returned error for this request : it may not accept chosen method or is not editable.
So my wakeup trigger is working only one time from CLoud page, I observed my mbed device is working normally.
Could you please reply ASAP.