Send a request with parameters

1. The problem I’m having:

I’m a newbie. How to send a request with parameters http://localhost:8000/calc?param=1+1
And receive a response from the request for further processing.
Can I ask you for some simple examples for caddyfile.
I don’t know where to start.

3. Caddy version:

V2.8.4

4. How I installed and ran Caddy:

instructions for Windows 10

c:\caddy.exe run

My complete Caddy config:

:2015 {
root C:/www/
file_server
}

Caddy isn’t typically used to build apps that do calculations or whatever. You’d put Caddy in front of an app/program that does that (written in the programming language of your choice), with Caddy’s reverse_proxy directive.

Or you could write a plugin for Caddy in Go to do whatever you need. Extending Caddy — Caddy Documentation

Your question is extremely vague. Please be specific about what you’re trying to do.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.