Wiznet / RP2040-HAT-C

Ethernet Example for RP2040
64 stars 35 forks source link

HTTP Server on request function #5

Closed wouterdebruijn closed 2 years ago

wouterdebruijn commented 2 years ago

I have been experimenting with the given HTTP server example code. But it seems quite basic.

I don't see an immediate way of creating a dynamic request. I would like to receive a request on a static URL, and then read that request, execute a couple function and respond to that request.

All logic is handled in the httpServer_run function, but this uses private functions which (i think) aren't intended to be used by me directly. Would it be better for me to create something from scratch, or should I be able to achieve this functionality by using the given library?

P.S. Sorry for creating an issue for this question. If there is a forum where these questions should be asked please let me know.

GiungKim commented 2 years ago

Hi @wouterdebruijn,

I'm sorry for late reply.

First, the HTTP server example provided by RP2040-HAT-C is the most basic example.

For additional implementations, you must develop your own.

I don't know if it will be helpful, but I think it would be good to refer to the link below.

Sorry for not giving you good news.

P.S. If you have any questions while using WIZnet products, please leave a question on the link below.