Giter Site home page Giter Site logo

json-fun's People

Contributors

jriverac avatar laurentinomx avatar whitelotus08 avatar

Watchers

 avatar  avatar  avatar

json-fun's Issues

Hacer un ejemplo de un POST

El objetivo es poder introducir una cadena en la app y mandar esa cadena a un recurso web y que el recurso lo reconozca y lo procese para crear un registro.

Este es el endpoint para que envies tu request de GET:
http://chupes.herokuapp.com/contacts.json

Este es para el POST:
http://chupes.herokuapp.com/contacts.json

Este es un ejemplo de como crear un registro:

curl -X "POST" "http://chupes.herokuapp.com/contacts.json" \
     -H "Content-Type: application/json" \
     -d $'{
  "contact": {
    "email": "[email protected]",
    "name": "Laurentis"
  }
}'

Hacer un ejemplo de un index (GET)

Una llamada a acción “Index” a una API, es cuando se llama a un tipo de datos sin especificar un registro. Lo que hace que el API regrese la lista completa de registros de ese tipo a la que el usuario tiene acceso.

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.