@paul-j-houghton as target for Flic. Then you should be able to see if something looks strange in the request.
@paul-j-houghton not really. You need to use our web IDE at https://hubsdk.flic.io. For business customers it's possible to push code to a set of hubs. See https://flic.io/blog/device-manager for more info.