Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
BaSyx / Documentation / VAB / HTTP Mapping
|See also||TCP Mapping||JSON Serialization||Exceptions|
The following table illustrates the mapping of VAB communication operations to HTTP REST communication that was used in this example. Short values, e.g. the path to the element and an operation ID are transmitted in the header, while complex objects, e.g. parameters are transmitted in the HTTP body, which has no size limitation.
|VAB operation||HTTP/REST mapping|
|update(e,p,v)||HTTP-PUT e/p [body: v as JSON]|
|create(e,n,v)||HTTP-POST e/n [body: v as JSON]|
|invoke(e,p,par)||HTTP-POST e/p [body: par as JSON]|