API For Reports

Tommy3 years ago

Hi Anton and all

Excuse me for my little experince i'm trying to learn by searching and expriment , My Question is :
i have a setup for localhost with traccar client app i want to integerate my data to googlesheets with import json script in google sheets , also i need to mention i'm using ngrok to post the data to this local host
i'm trying to do next : http://localhost:8082/api/reports/route
, tottaly sure i miss something , i searched alot about basic authentication in the api refrence , how should i pass this argument , how the format for the url must be , and should id use ngrok url or this localhost mentioned above
appreciate alittle support here , just mention athread i can follow to achieve it

Anton Tananaev3 years ago

Authentication is not part of the URL. It's passed as a header.

Tommy3 years ago

thanks for your reply anton , could you only help me for confirmation about
URL is ok and no problem with it and no need to use ngrok url right
and i will search on passed header how it should be

many thanks for your time and your usual support