Rich-text Reply

Read an experiment/REST API

Mr-BS 06-03-16
Accepted Solution

Read an experiment/REST API

Hi guys,

to documentation says to read an experiment:

 

curl \
  -H "Token: abcdefghijklmnopqrstuvwxyz:123456" \
  "https://www.optimizelyapis.com/experiment/v1/experiments/15/"

What parameter did I have to set instead the 15. Is it the project id or something else?

 

Level 2

mauerbac 06-03-16
 

Re: Read an experiment/REST API

CouchPsycho 06-04-16
 

Re: Read an experiment/REST API

I think, it has to be the experiment_id, but i do not have and API token myself. If you want to try out, within the reference documentation on the right side there is an option to switch from "curl" to "interactive mode" so you can try out without having to code a lot....



"the essence of the creative act is to see the familiar as strange." (anonymous)