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