method

This block is part of the http connection group and was last modified in core v10.4.28.

method v10.4.28

Returns current HTTP method for this request (e.g. GET, POST, etc).

In pins 1
  • connection required
    httpconnection
Out pins 1
  • method
    value

Outputs the uppercased HTTP method of the request (GET, POST, ...). Defaults to "GET" when the connection is unwired or the request carries no method : it never emits nil.

A typical wiring for method: the method out pin feeds convert to uppercase.

Studio canvas example for the method block: typical wiring for method.

Version history

Introduced in v10.4.28.


Back to http connection Return to the main group to view all sub-groups Back to http Return to the group to view all blocks within this group