HTTP POST with html table
I know it is really bad for the HTTP spec, but some people require POSTs to get at their page.
How about adding "method" and "params" as optional input parameters to the "html" table? Defaulting to GET and "" of course. Then I could do
SELECT* FROM html WHERE url=@url AND xpath=@xpath AND method="POST" AND params = "page=2"
where method is GET,POST,PUT,DELETE and if you want to be fun HEAD,CONNECT,OPTIONS,TRACE.
You could become the GET -> other method of choice for hitting REST endpoints.
by
3 Replies