代码之家  ›  专栏  ›  技术社区  ›  Kyle Hotchkiss

如何在curl中使用cloudapp api?

  •  0
  • Kyle Hotchkiss  · 技术社区  · 15 年前

    I am trying to play with the CloudApp API with CURL and it keeps giving me the redirect message, and I don't think I'm initializing it right. 文档在 http://support.getcloudapp.com/faqs/developers/api and my request currently looks like:

    curl -G --digest -u user@domain.com:[censored] -H "Content-Type: application/json" http://my.cl.ly/items/new
    

    有什么想法吗?

    1 回复  |  直到 13 年前
        1
  •  1
  •   Wade    14 年前

    您可能还需要包括-h“accept:application/json”