The Unknown
The Unknown

Reputation: 19704

C++ FastCGI parsing POST requests in to various form fields

I am writing a C++ app on FastCGI using libfcgi++. When I do a POST or GET request, is there a library out there that would parse the different fields?

For example for a GET /fastcgi.fcgi?var1=data1&var2=data2 would return something that's easier to access var1 and var2?

Same for a multipart POST request.

Upvotes: 2

Views: 2568

Answers (2)

jsa
jsa

Reputation: 399

FastCGI works with CGICC library. CGICC is excellent for your needs.

Upvotes: 1

bdonlan
bdonlan

Reputation: 231143

Looks like fastcgi++ might do the trick.

Upvotes: 2

Related Questions