- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
How do I change the snip.httpbin_org example to enable it to access my custom URL?
Basically, my application involves pushing the GPIO status on my custom webpage on the web server.
So, I am thinking of making an http put request with the GPIO status on my custom webpage by building-up on this example.
If there's any other approach that I can consider, I'll be happy to hear from you all.
Thanks.
Solved! Go to Solution.
- Labels:
-
Web Services
-
WICED Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Basically the httpbin snip performs the following operation as per RFC2616 section 5 during HTTP request 0:
GET "/get" HTTP_1_1
Host: www.httpbin.org
You can first start with framing an HTTP request as shown in the notation above. You can then change the server name and URI to the one being used by you. If you are performing HTTPS, you would also need to change the root CA certificate.
Alternately you can use MQTT to publish the GPIO status to a MQTT broker. If you are interested, you can check demo.aws_iot.pub_sub for the same using AWS MQTT broker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Basically the httpbin snip performs the following operation as per RFC2616 section 5 during HTTP request 0:
GET "/get" HTTP_1_1
Host: www.httpbin.org
You can first start with framing an HTTP request as shown in the notation above. You can then change the server name and URI to the one being used by you. If you are performing HTTPS, you would also need to change the root CA certificate.
Alternately you can use MQTT to publish the GPIO status to a MQTT broker. If you are interested, you can check demo.aws_iot.pub_sub for the same using AWS MQTT broker.