Code Monkey home page Code Monkey logo

4rh-api's Introduction

API de teste

Roda na versão do java 17

OBS! As tabelas serão criadas automaticamente pelo flyway (migration)

CRUD - Vendedor (Seller)

listagem com paginação

curl --location 'http://localhost:8080/seller'

adicionar

curl --location 'http://localhost:8080/seller' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Julio Holanda",
"birthDate": "2024-06-20",
"docNumber": "00527352306",
"email": "[email protected]",
"typeContract": "PJ",
"filialId": 1
}'

editar registro

curl --location --request PUT 'http://localhost:8080/seller/5' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Julio Holanda 1",
"birthDate": "2024-06-21",
"docNumber": "00527352306",
"email": "[email protected]",
"typeContract": "PJ",
"filialId": 1
}'

registro por ID

curl --location 'http://localhost:8080/seller/5'

deletar por ID

curl --location --request DELETE 'http://localhost:8080/seller/4'

4rh-api's People

Contributors

brunobrasilweb avatar

Watchers

 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.