tumble. phil adams.

  • Archive
  • RSS

REST and API Design

Alternatively, if the photo ID is important information that needs to be conveyed separately from the somewhat opaque URL, a URI-Template is just the ticket:

{'photos': [1, 2, 3], 'photo_uri_template': 'http://example.com/ph/{id}'}

Again, Resource != Model.

Source: jacobian.org

  • 5 months ago
  • Permalink
  • Share
    Tweet
← Previous • Next →

About

<witty description />
  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr