psf / httpbin

HTTP Request & Response Service, written in Python + Flask.
https://httpbin.org
Other
54 stars 17 forks source link

Questions about default support of custom base path prefix #50

Open Gruummy opened 4 months ago

Gruummy commented 4 months ago

Hi to the round,

is there already some possibility existing where i could define the base path to be used in the running instance ?

I would want to deploy it in way to listen to "/httpbin/anything" instead of "/anything".

Is this already today easy possible with settings some env variable ... or do i need to add such a functionality ?

If second: Are you accepting merge / pull requests to this repository here which will implement a configuration possibility based on environment variable ?