PlantLink

GRATUIT
Par danwiding | Mise à jour לפני חודש | Other
Health Check

N/A

Retour à toutes les discussions

Is this api still available

Rapid account: Sandrastark
sandrastark
לפני 9 שנים

Hi,
I was wondering if this api is actually still available, I am getting an error when trying to curl.
If not, could you recommend a plant api

thanks sandra stark

Rapid account: Danwiding
danwiding Commented לפני 9 שנים

ah. You need to create a user. You can either do this through the Angular.js app - https://dashboard.myplantlink.com/ or directly with the Register User endpoint. The angular app actually uses the same api documented on mashape. If you leave chrome or facebook dev tools running you can see the requests that occur with each action.

The username and password for all future requests are the email and password set up this way. I’m not regularly on Mashape and I am no longer employed by Oso Technologies but you can reach me at dan@oso.tc if you want a better walk through.

Rapid account: Sandrastark
sandrastark Commented לפני 9 שנים

Also, maybe to help clarify, my colleagues have tried as well and have gotten the same error.

Rapid account: Sandrastark
sandrastark Commented לפני 9 שנים

thanks.

I copied and pasted it from mashape directly. I am not sure what credentials I should have.

Rapid account: Danwiding
danwiding Commented לפני 9 שנים

As a heads up the authorization header contains your username and pw in a easily readable format - http://en.wikipedia.org/wiki/Basic_access_authentication

But perhaps fortunately your username and password aren’t correct. Invalid basic auth parameter generally means invalid credentials.

Rapid account: Sandrastark
sandrastark Commented לפני 9 שנים

Thanks so much for getting back to me! this is the error i receive:

~$ curl --get --include “https://plantlink.p.mashape.com/plants/241097” \

-H “Authorization: Basic c2FuZHJhc3Rhcms6ZW1vc2Vl”
-H "X-Mashape-Key: UIpaobkv6FmshXQUd5op4SUGm39Mp1c7tt2jsnpwG4UHA0afoS"
HTTP/1.1 401 Unauthorized
Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
Date: Sat, 13 Dec 2014 18:41:37 GMT
Server: Mashape/5.0.5
Set-Cookie: GOOGAPPUID=431; expires=Thu, 01-Feb-2018 14:41:37 GMT; path=/
Vary: Accept-Encoding
Content-Length: 367
Connection: keep-alive

[{“severity”: “Error”, “type”: “AuthError”, “traceback”: [" File “/base/data/home/apps/s~oso-tech/live.377436776115551932/app/controllers/commonHandlers.py”, line 226, in check_login\n message=‘The given Authorization header is not valid’)\n"], “type_detail”: “InvalidBasicAuthParameter”, “message”: “The given Authorization header is not valid”, “data”: null}]

Rapid account: Danwiding
danwiding Commented לפני 9 שנים

The API is still online and available. What’s the error when you received?

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires