c# - How can I get form parameters from HttpListenerRequest? -


i using httplistener implement simple http server, accepting post java client. when client calls httplistenerrequest, contains form parameters. how can extract form parameters? seem have access content stream....

httplistener low-level component, httplistenerrequest object each request. form data sent via post contained within body, have process stream , extract form data yourself. querystring data available because part of request address, , not require stream processing extract. differentiates form data, processing stream required.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -