Testing URI parameters, POST / PUT / DELETE and HTTP Entities

This form sends a "POST /?entity/arg1=one/arg2=two" request. G-WAN will reply with the request details, including the HTTP entity, see the entity.c servlet (for more request examples).

Note that G-WAN servlets' main(argc, argv) report both the URI parameters and the entity (if any). This is especially useful in RESTful requests that can use both URI parameters and a POST/PUT entity.

To enlarge the HTTP entity size accepted by G-WAN (default is 4KiB) see the entity_size.c servlet example. POST entities larger than the limit trigger a 413:"Entity too large" HTTP reply.


Server entity.c's Reply: