Coder Social home page Coder Social logo

tfredrich / restapitutorial.com Goto Github PK

View Code? Open in Web Editor NEW
3.0K 146.0 1.5K 8.96 MB

HTML Source code for www.RestApiTutorial.com

Home Page: http://www.RestApiTutorial.com

License: Creative Commons Attribution Share Alike 4.0 International

HTML 100.00%

restapitutorial.com's Introduction

restapitutorial.com's People

Contributors

andrewkindleysides avatar ashwinkumar01 avatar blowsie avatar embdur avatar flolagale avatar flyingfisch avatar jdreesen avatar jimwyatt avatar juliomatcom avatar jvitoroc avatar mfulton26 avatar mrkiffie avatar nobozo avatar olivierjaquemet avatar sadleb avatar tfredrich avatar yevhenpavliuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

restapitutorial.com's Issues

Create a portuguese version and use i18n

This doc is amazing, it deserves a portuguese doc! Right?

Is there someone here to accept a pull request that I'll do?

  • Create a i18n implementation
  • Translate all text files
  • Use some popular framework to do it

This is my proposal.

405 has different descriptions

The 405 is discussed in two places: httpstatuscodes and restquicktips. It would be better to refer to one description or use the same (partial) text. It's a bit confusing with two different descriptions.

Some limitations of pluralization

Hey

I've found at least two limitations in the pluralization of nouns in web services:

  • When the singular form and the plural form are the same (for example "species"), there is no mean of indicating whether the resource is a singleton
  • When a program or a human being only knows the singular forms of your entities, the plural forms must be found or guessed. The guessing isn't trivial to implement (I partially did it). Think about "watch -> whatches", "entity -> entities", "index -> indices or indexes", "status -> statuses", "appendix -> appendices", ...

Singularization wouldn't help. Moreover, using a plural form or a singular form doesn't tell you whether your collections allow duplicate elements. That's why I prefer using this kind of perfectible solution:
GET http://www.example.com/customerSet/33245/orderSet/8769/lineitemSet/1

Note that the second limitation can harm when designing automatic test procedures to ensure that all web services work except if the plural forms are used everywhere in your code, both in your database tables and in your classes. Would you really create a class named "Customers with an object oriented programming language?

Non responsive web pages

I found that there are some pages those are not responsive for phone or small devices.
Screenshots are attached:
screenshot_20171111-140356

Another:

screenshot_20171111-140347

I have fixed them so can it be merged?

How is this website created from start?

Is this web site automatically generated or is it manually crafted? what template engines is used etc. I want to create a website like this but I don't want to create everything from scratch.

Other HTTP Verbs

All too often, GET, POST, PUT, and DELETE are the only verbs discussed. Might it be worth adding some of the others, such as HEAD, OPTIONS, and PATCH?

Conflicting text

In the quicktips you describe status 405 as an example for POST. In the HTTP methods 405 is not described as possible return status for a POST.

Localization

Any there any plans to translate web-site into other languages?

Section has wrong information

In:
RestApiTutorial.com / lessons / idempotency.html

Lines 78-82 are duplicates of 68-71, and don't describe Safety.

Reference OData in the Resources page?

Hi,

I wonder if it'd be useful for RestApiTutorial.com visitors to reference OData related information in its Resource page.

OData is the short for the Open Data Protocol. It's a open industry standard approved by OASIS (ref: https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=odata). It provides specifications and guidelines about how to build and consume REST APIs (URL conventions, behavioral specifications, schema exposure, control information exposure, etc.).

It represents industry practices as Microsoft, SAP, Salesforce, IBM and etc. are all adopting OData as their REST API guidelines.

For more info about it you may refer to http://www.odata.org/.

Consider including industry practise of REST in the RestApiTutorial.com

Hi,

First of all, I want to say that RestApiTutorial.com is really cool, it expresses the REST API principles in a very clear way and I have learned a lot of REST from it. And I think the site will be even better if some industry practice of REST be included (sometimes is still hard for developers to directly design a REST API only following the principles)

I'd like to recommend adding OData to the website. Below are basic information of OData.

  • OData -- full name Open Data Protocol is open protocol to allow the creation and consumption of queryable and interoperable RESTful APIs in a simple and standard way.
  • OData is an OASIS standard that defines the best practice for building and consuming RESTful APIs. And the OData community is working on making OData an ISO standard. OData has been applied in many IT industry leaders including Microsoft, SAP, IBM and more in the OData ecosystem.
  • OData has detailed and continuing improving specifications that covers almost everything in REST principles.
  • Based on the OData protocol, there are various libraries on different platforms supporting building OData service and consuming OData services, see more at http://www.odata.org/libraries .

I definitely DON'T mean to make your site to become another an odata.org site. But I think adding a link in the RestApiTutorial.com or even a separate page with introduction to OData can help developers easily pick up a good and verified practice of REST and start their work directly (since OData has a lot of existing libraries).

Dark mode

Have you thought about dark mode? I haven't dig into the source code and I don't know for sure if it's gonna take too much.

Thoughts?

Any guidelines on handling parameter arrays?

I was wondering if there were any guidelines on parameter arrays in a REST api call.

Eg I want to pass an array of id's to get a list of parameters. Two possible implementations:
GET /api/parameters/[1,2,3,4]
or
GET /api/parameters/ids[]=1&ids[]=2&ids[]=3&ids[]=4

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.