turbogears


Exposing an HTTP proxy through a Turbogears controller


I have a webapp implemented in TurboGears 1.1 that's kind of a front-end for a REST API. I'm trying to expose a URL path on my webapp that's a proxy to the original REST API, so I can access "http://MY_APP/rest_api/foo" and have it work the same as "http://REST_API/foo".
Is there a simple way to set that up with TurboGears, or do I have to expose a normal controller and write all the code to handle GETs and POSTs and params and redirects myself?

Related Links

Turbogears 2.3.10 error kajiki template with pluggable application
Exposing an HTTP proxy through a Turbogears controller
Using kajiki in TG2.1
embed multiple kid template files into a main one

Categories

HOME
ms-access
date
atom-editor
openmp
oracle11g
image-processing
mediawiki
fft
leon
fingerprint
echarts
uber-api
elasticsearch-hadoop
primary-key
session-variables
dacpac
imacros
google-apps-marketplace
google-cloud-spanner
timeout
try-catch
caml
telephony
solaris-10
oracle-coherence
lucene.net
emulator
xlsxwriter
microsoft-r
virtualdub
windowbuilder
nameservers
gtrendsr
catch-all
hybridauth
http-referer
mixture-model
code-search-engine
unspecified
angularjs-factory
bootstrapper
hp-ux
galen
powershell-dsc
executenonquery
qwt
dotcover
hendrix
tizen-native-app
slickedit
diagnostics
media-player
word-vba-mac
libpng
savon
clang-static-analyzer
lttng
two-factor-authentication
wapiti
execute
t4mvc
qdialog
spidermonkey
map-projections
0xdbe
ibaction
graph-drawing
p2
dd
rdtsc
nsbutton
bitcoinj
reactfx
undefined-reference
java.nio.file
centos5
stxxl
industrial
padarn
sharp-repository
jelly
libstdc++
word-processor
hgsubversion
gnu-prolog
libc++
ecl
floating
cxxtest
gamma
thunderbird-lightning
javap

Resources

Encrypt Message