Pedagio

부분 유료
분류별 territorial | 업데이트됨 एक महीने पहले | Tools
Health Check

N/A

모든 토론으로 돌아가기

Missing Application Key

Rapid account: Uptrans
uptrans
7 वर्ष पहले

I am using Ruby and the Unirest Gem 1.1.2. I am using the provided code snippet:

response = Unirest.post “https://territorial-pedagio-v1.p.mashape.com/json/”,
headers:{
“X-Mashape-Key” => “HERE I USE MY APPLICATION KEY”,
“Content-Type” => “application/json”,
“Accept” => “application/json”
}
"{“jsonrpc”:“2.0”,“method”:“tollbooth.route”,“params”:[{“from_cord”:"(#{start[‘lat’]}, #{start[‘lng’]})",“dest_cord”:"(#{destination[‘lat’]}, #{destination[‘lng’]})",“tipo_veic”:“auto2eixos”}],“id”:“jsonrpc”}"

But I always get: ‘"Missing Mashape application key.’ I tried both, development and production keys.

Rapid account: Territorial
territorial Commented 7 वर्ष पहले

Hi there,

are you providing the the API key? you need to subscribe as developer to retrieve one.

Best regards,

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입