Giter Site home page Giter Site logo

gulliver-works_spec's Introduction

モックサーバー

NameSpaceごとにモックサーバーを立ててあります。 下記のオリジンをbaseURLにして、各エンドポイントにリクエストを送れば、レスポンスが返ってきます。

NameSpace

Application

Origin: 'https://fed79e73-d600-4c5a-8f45-dfa52cb9d13a.mock.pstmn.io'

Enterprise

Origin: 'https://39433c59-d57e-4fd0-8e4e-11ca5ddf1743.mock.pstmn.io'

Auth

Origin: 'https://6a64a158-9913-44ab-8b6f-3e7e5422dcf1.mock.pstmn.io'

EnterpriseAuth

Origin: 'https://6915e998-6c2b-4bc0-a07b-d9fee6165b5d.mock.pstmn.io'

Exp

Applicationのエンドポイントで「都道府県一覧一覧を取得する」の場合、 GET https://fed79e73-d600-4c5a-8f45-dfa52cb9d13a.mock.pstmn.io/prefectures で以下のレスポンスが返ってくる。

{ "prefectures": [ { "id": "velit ad id", "name": "東京" } ] }

注意点

実際のエンドポイントの実装では、バージョニングとNameSpaceがあるので、

  • Applicationであれば、/v1/prefectures
  • Enterpriseであれば、/enterprise/v1/prefectures というURIになります。

gulliver-works_spec's People

Contributors

uchidataku avatar

Watchers

mackeee avatar  avatar

Forkers

s016

gulliver-works_spec's Issues

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.