Giter Site home page Giter Site logo

simple-request-forwarding-app-engine's Introduction

Request forwarding on Google App Engine

A simple application for forwarding request :

  • Change HTTP method
  • Set default parameters
  • Filter request parameters
  • Hide your secret :
    • Cloak forwarding URL
    • Choose request URL (long and/or cryptic)
    • Add HTTP basic authentication
    • Add additional parameters

Disclaimer : Not really tested, nor finished :(. I wrote this for a simple need : bypass a missing User-Agent and hide some password.

Installation

You need Google App Engine SDK

  • And read documentation

  • Clone this repository

  • copy app-sample.yaml to app_engine/app.yaml

    • edit app_engine/app.yaml and change application id
  • copy config-sample.yaml to app_engine/config.yaml

    • edit app_engine/config.yaml (see Configuration)
  • copy config-test-local.yaml to app_engine/config-test-local.yaml

    • edit app_engine/config-test-local.yaml (see Configuration)

Configuration

see content in app_engine/config-sample.yaml

Need some documentation

app_engine/config-test-local.yaml is for local testing (with SDK). It will be merged with app_engine/config.yaml .

URL re-defined in app_engine/config-test-local.yaml will take over app_engine/config.yaml . It won't be used on deployed application.

Usage

Test

# Go to application directory and launch it with :
dev_appserver.py app_engine

Deployment

# After testing it, deploy on Google App Engine
appcfg.py update app_engine

See : Uploading Your Application

Far future :

  • Documentation
  • Unit test
  • Parameters transformation
    • XSLT ?
    • JSONT ?
    • other ...

simple-request-forwarding-app-engine's People

Contributors

ppierre avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.