-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hey, it's me again! I'm testing an integration with the njtransit API and I'm getting an error even though I'm following the docs. Any idea what I'm doing wrong?
https://github.com/viktorhex/njtransit-tracker/blob/main/src/api/njtransit.ts#L86
Example in a curl request:
curl -X 'POST' \
'https://testpcsdata.njtransit.com/api/BUSDV2/getLocations' \
-H 'accept: text/plain' \
-H 'Content-Type: multipart/form-data' \
-F 'token=63885160**********' \
-F 'mode=ALL'Response I'm getting:
data: {
errorMessage: "User not known or not allowed.",
},Note: authenticating my user works fine, and I can retrieve tokens.
Metadata
Metadata
Assignees
Labels
No labels