I’m trying to get vin information via JavaScript. When I’m doing get request, and sending headers with { X-Mashape-Authorization: my_key }
, some times i’ts returning to me full information about car, but most of times it’s returning method “OPTIONS” with response: “Invalid Mashape key. If you are …”, and another empty “GET” response. What is the reason for this behavior?
Join in the discussion - add comment below:
Didn’t read this https://www.mashape.com/docs/consume/javascript