Giter Site home page Giter Site logo

sgml / api-playground Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ahelland/api-playground

0.0 2.0 0.0 8.18 MB

A utility web page for testing APIs

C# 0.32% JavaScript 86.77% CSS 8.47% Ruby 0.02% PowerShell 0.01% HTML 2.03% TypeScript 2.39%

api-playground's Introduction

API-Playground

Description

This solution contains a utility web page for testing APIs. It is based on Visual Studio 2017 and .NET Core 2.

It currently provides the ability to test "raw" C# code for achieving this. Technically it can be used for C# testing in general as well. (It is not hardcoded for API calls in any way.)

There are templates for a generic GET or POST call which you can edit to your liking to create a more realistic test scenario.

Adding more templates currently requires you to add in a JavaScript function, and a button html tag, to load into the editor view. Slighly unflexible, but there is no actual templating system implemented yet.

Code-based Test

Notes

The editor view is provided by using the Monaco-Editor: https://github.com/Microsoft/monaco-editor

The compilation and running of the code requires internet access as it is sent to "the cloud" for execution. It does not run locally yet (working on that).

HTML testing (visible in screenshot) has been deprectated, but you can find it in previous commits if you like.

api-playground's People

Contributors

ahelland avatar

Watchers

James Cloos avatar psweatte 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.