What would you like to see next?

Accept Access Key and Bucket Key as get parameters in API

Some devices can't set HTTP headers and are limited to HTTP GET. Please support such devices by accepting all parameters in guery rather than headers and json.

2 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Tibor Jakab shared this idea  ·   ·  Admin →
    completed  ·  AdminInitial State Team (Support Lead, Initial State) responded  · 

    The API now supports using the HTTP GET verb for sending data. This is a-typical of HTTP REST style APIs, but very convenient for many simple HTTP clients. Since GET requests cannot contain request bodies, you will have to supply data via url parameters. An example would be this:

    curl ‘https://groker.initialstate.com/api/events?accessKey=YOUR_ACCESS_KEY&bucketKey=YOUR_BUCKET_KEY&some_key=some_value&some_other_key=some_other_value’;

    This curl command doesn’t specify a verb action, and therefore uses the default HTTP GET verb. You could also paste this url into a browser and the browser will perform a GET which will send the data to that bucket.

    5 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base