WidgetMessage: tm-http-request Examples
1st September 2024 at 2:20pm
Use the oncompletion attribute to store the results of a method="GET" request
Use the oncompletion attribute to store the results of a method="POST" request. Use the body attribute to send data
Use the bind-status and bind-progress attributes to watch the intermediate state of a slow response
Use the bind-status and bind-progress attributes to watch progress of data which arrives a little at a time
Send a request to a url which simulates a 504 HTTP response in order to illustrate what an error response looks like
Another error response example. This one sends a GET to a URL which only allows POST