This is a topic in Highrise API

Does sample.highrisehq.com work ?

 
Avatar Susic 7 posts

Hi,

This http://developer.37signals.com/highrise/index.shtml mentions several times examples like :
curl -u 605b32dd:X http://sample.highrisehq.com/people/1.xml

When typing this example with either this 605b32dd token or my own authentication token, I’ve got :
HTTP Basic: Access denied.

Is this example supposed to work exactly as such ?
If not, would it be possible to make it so ?

Regards

 
Avatar Tyler Bird 1 post

Substitute ‘sample.’ with the sub-domain you use to access Highrise, and use your token you got from My Info / User account.

Based on that user’s level of access is what you will see when you run http://your-sub-domain.highrisehq.com/people/1.xml

You’ll also need to be able to access that person. You can get the correct ID from browsing to that person in Highrise and observing in the URL the number after /people:

ex. /people/484158

Or you can get a list of all the people your user can access by running (with your token and your subdomain):

curl -u YourToken:X http://your-sub-domian.highrisehq.com/people.xml

The key thing to remember here, is that you must use your sub-domain and not the sample one.

 
Avatar Susic 7 posts

1. In reply to :
curl -u MyToken:X http://my-sub-domain.highrisehq.com/people.xml

I’ve got :
<html><body>You are being redirected.</body></html>

Any idea, why ?

2. Allowing every developer to access a sample account would help to learn how to handle API handling before diving into other topics.
I understand it might not

 
Avatar Susic 7 posts

In previous message, when I wrote MyToken:X, I meant I typed a 40 letters token (from MyInfo) and then letters ”:” and X.
I must add I created my account this morning (ie 10 hours ago), so maybe, my account is not correctly set, at the moment.

 
Avatar Susic 7 posts

24 hours later, I’m still unable to connect using curl.
I’m opening a new thread on that.

Signup or login to post a reply.