parsing https POST body

Dansen
Posts: 9
Joined: Thu Oct 28, 2021 9:42 am

parsing https POST body

Postby Dansen » Mon Nov 01, 2021 2:45 pm

Hello guys!

I'm currently working on a https server implementation and found neither documentary or examples in which you can receive and further parse a POSTrequest Body.

anyone got some ideas?

ESP_Sprite
Posts: 9723
Joined: Thu Nov 26, 2015 4:08 am

Re: parsing https POST body

Postby ESP_Sprite » Tue Nov 02, 2021 3:05 am

You need to be a bit more specific than that... are you building your own https server code from scratch, or are you using an existing http(s) server library? If so, which one?

Dansen
Posts: 9
Joined: Thu Oct 28, 2021 9:42 am

Re: parsing https POST body

Postby Dansen » Tue Nov 02, 2021 7:28 am

Hello!

Yeah sure. So basically i used the https "simple" example as a template and added a login handler. within the URL "/login" the user should be allowed to send me usercredentials via a https POST in the Body of the request.

After receiving the Body(in json format) I either want to grant access or deny.

Who is online

Users browsing this forum: No registered users and 119 guests