Chris von Nieda
Posts: 0
Joined: Mon Aug 13, 2012 10:30 pm

Connecting To MyIntervals using REST. Getting a 400 bad request error

Hi,

I am trying to set up a Rest service and I can not get a successful test. This is a with a 3rd party project management software vendor I use called MyIntervals. Their api documentation is here and looks pretty simple: http://www.myintervals.com/api/introd...

I have already asked them for help and their suggestion have not worked for me yet so I am hoping you can help!

URL: which is https://api.myintervals.com
Method: (GET)
Data type: json

Intervals said:

"A header named "Accept", needs to be sent. It's value will be "application/json" if using json from above. This will instruct the API to respond with JSON format so it coincides with the tiggzi API.

Authorization is handled by sending a header called "Authorization" with the value "token:X" where token is your API token encoded in base 64. ":X" is just placeholder for a password but we don't use that so disregard it."

I have added those parameters and values and tried my token in both the base 64 encoded version and without. All I get is "400 bad request".

Can someone please tell me what I might be doing wrong?

Thanks!

Chris

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Connecting To MyIntervals using REST. Getting a 400 bad request error

Have you tried a curl request to this service to test it?

Chris von Nieda
Posts: 0
Joined: Mon Aug 13, 2012 10:30 pm

Connecting To MyIntervals using REST. Getting a 400 bad request error

Hi Max,

No I have not. I am not familiar enough with php and Rest to do it myself. I realize I can find someone who is but was hoping the tiggzi app builder would save me the trouble and expense.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Connecting To MyIntervals using REST. Getting a 400 bad request error

We can try it, but you will need to post all the information to invoke the service. If you would rather not post it on a public forum, you can send it to a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a.

Chris von Nieda
Posts: 0
Joined: Mon Aug 13, 2012 10:30 pm

Connecting To MyIntervals using REST. Getting a 400 bad request error

I just set the email to support. If I did not include everything required let me know. Thanks

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Connecting To MyIntervals using REST. Getting a 400 bad request error

Just replied to your email... the service is working.

Return to “Issues”