Jump to content

murkan

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by murkan

  1. murkan

    Rest question (Newbie)

    Yahoo Weather Api object RESTClient1: TRESTClient Authenticator = OAuth1Authenticator1 Accept = 'application/json, text/plain; q=0.9, text/html;q=0.8,' AcceptCharset = 'utf-8, *;q=0.8' BaseURL = 'https://weather-ydn-yql.media.yahoo.com/forecastrss' Params = <> RaiseExceptionOn500 = False end object RESTRequest1: TRESTRequest Client = RESTClient1 Params = < item Name = 'location' Value = ' Sunnyvale ,ca' end item Kind = pkHTTPHEADER Name = 'X-Yahoo-App-Id' Value = 'yours' end item Name = 'u' Value = 'c' end item Name = 'format' Value = 'json' end> Response = RESTResponse1 SynchronizedEvents = False end object RESTResponse1: TRESTResponse ContentType = 'application/json' end object OAuth1Authenticator1: TOAuth1Authenticator ConsumerKey = 'yours' ConsumerSecret = 'yours' end
×