Created
April 1, 2015 23:46
-
-
Save predictioniogists/3311e936076d15b6109e to your computer and use it in GitHub Desktop.
Create new customer example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -i -X POST http://localhost:7070/events.json?accessKey= nE9KITDzprLR6utwUJ9a4qDhscsKsjKFlXMcMsxVEdbkQjqYRm8pFcHHDdrM6Cid -H "Content-Type: application/json" -d '{ | |
> "event" : "$set", | |
> "entityType" : "customer", | |
> "entityId" : "1", | |
> | |
> "properties" : { | |
> "channel" : "email", | |
> “DOB” : “1/12/1970”, | |
> "name" : "sam dolittle" | |
> }, | |
> }' | |
HTTP/1.1 201 Created | |
Server: spray-can/1.3.2 | |
Date: Thu, 12 Mar 2015 22:31:13 GMT | |
Content-Type: application/json; charset=UTF-8 | |
Content-Length: 57 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment