安装此 Fitbit 手机应用程序
This is a port of my Send Message app from Pebble - an HTTPS client supporting GET and POST requests (though HTTP only works to IP addresses on your own network). It is intended for a technically proficient audience and use of its more advanced features requires some understanding of JSON data structures.
The app allows configuration with three sets of label, URL, data segment (for POST) and headers. Touching that label will then fire off the associated request, and the status text returned will be displayed on the watch and can be dismissed by touching it.
For example, the label might be 'Send help!' and the URL/data fields contain the request details to send this message to a service that creates a text message (to which you would need to subscribe).
To test your requests, you might want to use the free testing service at https://www.requestcatcher.com.
Source code and more details are available at https://github.com/PeterSumm/SendMessage.