hi,everyone.
now i start to design a api.
the url like this
http://localhost:3000/api?seckey=123&&post_id=1
the visitor need a seckey to access auth.and get info via json.
so i dont think thats a good api.
i need your answers.thx

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • David Angga at Mar 15, 2012 at 3:44 am
    REST:
    http://pivotallabs.com/users/jdean/blog/articles/1419-building-a-fast-lightweight-rest-service-with-rails-3-

    or

    SOAP: http://railshackers.com/category/soap-api/
    On Mon, Mar 12, 2012 at 9:58 PM, Shi Yan wrote:

    hi,everyone.
    now i start to design a api.
    the url like this
    http://localhost:3000/api?seckey=123&&post_id=1
    the visitor need a seckey to access auth.and get info via json.
    so i dont think thats a good api.
    i need your answers.thx

    --
    You received this message because you are subscribed to the Google Groups
    "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/rubyonrails-talk?hl=en.

    --
    *David Angga Prasetya*
    *RoR Developers*

    skype: david.angga
    phone: +62 85 222 1 5555 2
    *

    *

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • iGbanam at Mar 15, 2012 at 9:13 am
    You should checkout Edge Rails. edgeguides.rubyonrails.org/
    api_app.html has some interesting information.
    On Mar 12, 10:58 am, Shi Yan wrote:
    hi,everyone.
    now i start to design a api.
    the url like thishttp://localhost:3000/api?seckey=123&&post_id=1
    the visitor need a seckey to access auth.and get info via json.
    so i dont think thats a good api.
    i need your answers.thx
    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Martin Wawrusch at Mar 15, 2012 at 9:22 am
    I have 2 boards on Quora that contain some useful links:

    http://www.quora.com/Martin-Wawrusch/REST-API-Implementer-Resources
    http://www.quora.com/Martin-Wawrusch/Oauth-2-Resources-For-Provider-Implementers


    You might also want to consider looking into this interactive book project:
    http://designinghypermediaapis.com

    and take a look at github's API design here: http://develop.github.com/

    also, read this:
    http://blog.steveklabnik.com/posts/2011-07-03-nobody-understands-rest-or-http
    and
    part II of it

    and don't forget to use patch instead of put when applicable :)

    Cheers
    Martin
    On Thu, Mar 15, 2012 at 2:12 AM, iGbanam wrote:

    You should checkout Edge Rails. edgeguides.rubyonrails.org/
    api_app.html has some interesting information.
    On Mar 12, 10:58 am, Shi Yan wrote:
    hi,everyone.
    now i start to design a api.
    the url like thishttp://localhost:3000/api?seckey=123&&post_id=1
    the visitor need a seckey to access auth.and get info via json.
    so i dont think thats a good api.
    i need your answers.thx
    --
    You received this message because you are subscribed to the Google Groups
    "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/rubyonrails-talk?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Yan shi at Mar 15, 2012 at 3:14 pm
    muchas gracias all.
    i was considering that maybe i could use HMAC way to implement this.is it
    a good way.

    2012/3/15 Martin Wawrusch <martin@wawrusch.com>
    I have 2 boards on Quora that contain some useful links:

    http://www.quora.com/Martin-Wawrusch/REST-API-Implementer-Resources

    http://www.quora.com/Martin-Wawrusch/Oauth-2-Resources-For-Provider-Implementers


    You might also want to consider looking into this interactive book
    project: http://designinghypermediaapis.com

    and take a look at github's API design here: http://develop.github.com/

    also, read this:
    http://blog.steveklabnik.com/posts/2011-07-03-nobody-understands-rest-or-http and
    part II of it

    and don't forget to use patch instead of put when applicable :)

    Cheers
    Martin

    On Thu, Mar 15, 2012 at 2:12 AM, iGbanam wrote:

    You should checkout Edge Rails. edgeguides.rubyonrails.org/
    api_app.html has some interesting information.
    On Mar 12, 10:58 am, Shi Yan wrote:
    hi,everyone.
    now i start to design a api.
    the url like thishttp://localhost:3000/api?seckey=123&&post_id=1
    the visitor need a seckey to access auth.and get info via json.
    so i dont think thats a good api.
    i need your answers.thx
    --
    You received this message because you are subscribed to the Google Groups
    "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/rubyonrails-talk?hl=en.

    --
    You received this message because you are subscribed to the Google Groups
    "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/rubyonrails-talk?hl=en.


    --
    *愿爱与喜悦心与你同在!

    石岩敬上
    大连东软信息学院 计算机系软件工程应用方向
    Dalian NEUSOFT Institute of Information
    中国-大连市软件园路8号
    邮编:116023
    **Mail:hlcfan.yan@gmail.com* <hlcfan.yan@gmail.com>
    *Phone:15242613529*

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMar 14, '12 at 9:57p
activeMar 15, '12 at 3:14p
posts5
users4
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase