Giter Club home page Giter Club logo

payment-service's Introduction

payment-service

Spring microservice

GET

curl -X GET
http://localhost:9091/payments/1
-H 'cache-control: no-cache'
-H 'postman-token: baae12cc-6dda-8304-1f55-a89cb8af01d3'

POST

curl -X POST
http://localhost:9091/payments
-H 'cache-control: no-cache'
-H 'content-type: application/json'
-H 'postman-token: 0cdd711b-a4a0-1b70-6a94-30a2fa0debdc'
-d '{ "id": 2, "cardNumber": "1234 5432 9997 9999", "expiringDate": "22/1987", "purchaseValue": 123.43000000000000682121026329696178436279296875, "cardFlag": "MasterCard" }'

PUT

curl -X PUT
http://localhost:9091/payments
-H 'cache-control: no-cache'
-H 'content-type: application/json'
-H 'postman-token: 9420ac82-425e-35f7-da7d-8dc2350ddeb2'
-d '{ "id": 2, "cardNumber": "4321 5432 9997 9999", "expiringDate": "21/1999", "purchaseValue": 123.43000000000000682121026329696178436279296875, "cardFlag": "Elo" }'

DELETE

curl -X DELETE
http://localhost:9091/payments/2
-H 'cache-control: no-cache'
-H 'content-type: application/json'
-H 'postman-token: 2809401a-5c6d-3440-996b-38a8b50f6ca7'

payment-service's People

Contributors

cardote 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.