TB_RestRequester

General description

Request-Methods:

GET

A GET request, in simple terms, is a way for you to grab data from a data source with the help of the internet. When you tell the API that you want to retrieve information, you send a GET request to the server. After it processes your request, you receive the information in a nice, organized pile (JSON Format)

PUT

The HTTP PUT request method creates a new resource or replaces a representation of the target resource with the request payload. If the target resource does not have a current representation and the PUT request successfully creates one, then the origin server must inform the user agent by sending a 201 (Created) response. If the target resource does have a current representation and that representation is successfully modified in accordance with the state of the enclosed representation, then the origin server must send either a 200 (OK) or a 204 (No Content) response to indicate successful completion of the request.

POST

POST is an HTTP method designed to send data to the server from an HTTP client. The HTTP POST method requests the web server accept the data enclosed in the body of the POST message. HTTP POST method is often used when submitting login or contact forms or uploading files and images to the server. The HTTP POST method is used to create or add a resource on the server. Typically, the POST request adds a new resource to the server, while the PUT request replaces an existing resource on the server. . Unlike GET and HEAD requests, the HTTP POST requests may change the server state.

DELETE

A HTTP request of this type is sent to remove the target resource from the server. Precisely what happens on the server’s side, such as whether the space is reclaimed or the resource is instead just taken offline, is under the control of the server, and how its environment has been configured. Typically, the HTTP DELETE method is used in cases where clients are creating and modifying resources. It might be used, for example, to remove a file that was previously stored using the HTTP PUT method.

Example-Integration: