Project

General

Profile

HTTP Block

How this block appears in a Simulink model?

  • GET requests

appearance_http_get.PNG

  • POST requests

appearance_http_post.PNG

What can be configured?

Configuration Parameter Selectable Option/Value Description
HTTP Method GET--POST Specify the request type
Response buffer size 32--64--128--256--512--1024--2048--4096 Select the response buffer size
Enable semaphore control for HTTP block Check--Uncheck Having multiple HTTP blocks in the same model file can cause errors during run time. In such case this parameter should be enabled.
Sample time (sec) -1 (inherited) or specify Specify sample time for the block

When to use this block?

This block can be used to GET or POST HTTP requests.

Demo

WIFI Demo

Previous : WIFI Block
Next : Wireless Communication Block (HIL)

Also available in: PDF HTML TXT