Page 1 of 1

Error when testing Rest Service properties

Posted: Sun Sep 16, 2012 9:23 pm
by Scott Finberg

Error: Test Failed. Please check service properties and the errors in the response area...

Response:
URL: curl -X GET \ -H "X-Tiggzi-Database-Id: 50561800e4b07128a36ba804" \ https://api.tiggzi.com/rest/1/db/coll...
Method: get
Data Type: json
Content Type:
Security Context: 0
Request header parameters: X-Tiggzi-Database-Id=50561800e4b07128a36ba804
Request body parameters: none

Illegal character in scheme name at index 4: curl -X GET \ -H "X-Tiggzi-Database-Id: 50561800e4b07128a36ba804" \ https://api.tiggzi.com/rest/1/db/coll...?

I have checked the DB ID and the default value of the Request parameters and I copied them from the database, so I'm not sure why the test failed.

It appears it may be appending a question mark to the curl


Error when testing Rest Service properties

Posted: Sun Sep 16, 2012 9:35 pm
by Scott Finberg

I figured it out...

When populating the Rest Service properties you have to remove everything before the URL...it appends the curl statement before the Https: and you just have to remove that.