Giter VIP home page Giter VIP logo

marketplay's Introduction

Marketplay

Marketplay is API Playground for Marketplace API.

Installation

Marketplay is based on commonplace and that is all you need to run Marketplay.

Install commonplace:

Follow commonplace installation instructions on this page: https://github.com/mozilla/commonplace/blob/master/README.md

Usage

From the terminal, run the following command:

damper

This will run a test server and will watch the assets and templates to reflect any changes made to them while the server is running.

To extract docs:

./scripts/buildjson docs

marketplay's People

Contributors

cvan avatar dash1291 avatar mattbasta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

dash1291 cvan

marketplay's Issues

Do oAuth

Would be nice if the client could do oAuth, so we could test oAuth APIs, not just SharedSecret ones.

Allow us to change servers

Assuming this talks to -dev, a form that lets you choose which server we are using would be great: eg: dev, stage, prod

XSS!

STR:

  1. Load http://marketplay.paas.allizom.org/
  2. Select Rocketfuel -> post /api/v1/rocketfuel/collections/
  3. Select collection name, description and author name to be <script>alert('problem')</script>
  4. Submit the request

Voila! XSS :)

Remove the marketplace stuff

The search at the top doesn't do anything and most of the footer isn't relevant either, lets remove all that.

Make queries linkable

To show someone an example of how to get twitter details, I have to say:

Go to here, click apps, then the second get, then enter twitter, etc.

Would be awesome if we could have a link to that. This means figuring out a scheme for the URLs and keeping the URL bar up to date as we go along.

Display non-200 responses

  1. click accounts link
  2. click post /api/v1/account/feedback/ link
  3. click "Send Request" button
  4. notice the console:
Failed to load resource: the server responded with a status of 400 (BAD REQUEST) 

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.