# HTTPS

UbiFunctions can be invoked using either an HTTP POST or GET request.&#x20;

| Method | URL            | Args                                                                                                                                                                                                                                                                | Response                     |
| ------ | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| POST   | Function's URL | <ul><li>You can send an arbitrary JSON inside the HTTP body, which will be included in the "args" variable inside the function.</li><li>Any URL parameters (i.e. ?arg1=value1\&arg2=value2) will be parsed and included into the "args" variable as well.</li></ul> | Defined inside your function |
| GET    | Function's URL | <ul><li>No HTTP body is expected</li><li>You can send URL parameters (i.e. ?arg1=value1\&arg2=value2), which will be parsed and included into the "args" variable.</li></ul>                                                                                        | Defined inside your function |
