Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import request payload is larger for GPSIO than for import-from-file #16

Open
caver456 opened this issue Oct 30, 2021 · 0 comments
Open

Comments

@caver456
Copy link
Contributor

See #14 - not sure why the payload is larger; would be nice to get it to be identical to the payload from import-from-file.

Import-from-file payload, for a single file in the Garmin/GPX directory:

json: {"contents":["PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxncHggeG1sbnM9Imh0dHA6Ly93d3cudG9wb2dyYWZpeC5jb20vR1BYLzEvMSIgeG1sbnM6Z3B4eD0iaHR0cDovL3d3dy5nYXJtaW4uY29tL3htbHNjaGVtYXMvR3B4RXh0ZW5zaW9ucy92MyIgY3JlYXRvcj0iQ0FMVE9QTyIgdmVyc2lvbj0iMS4xIj48d3B0IGxhdD0iMzguOTM2ODYxMjc4MzQ1NSIgbG9uPSItMTIwLjk4Nzg5MDYyNSI+PG5hbWU+dDI8L25hbWU+PC93cHQ+PC9ncHg+"]}

Import-from-GPSIO payload, when that same file is the only gpx file in that directory:

json: {"contents":["PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NDQo8Z3B4IHZlcnNpb249IjEuMSIgY3JlYXRvcj0iR1BTQmFiZWwgLSBodHRwczovL3d3dy5ncHNiYWJlbC5vcmciIHhtbG5zPSJodHRwOi8vd3d3LnRvcG9ncmFmaXguY29tL0dQWC8xLzEiIHhtbG5zOmdweHg9Imh0dHA6Ly93d3cuZ2FybWluLmNvbS94bWxzY2hlbWFzL0dweEV4dGVuc2lvbnMvdjMiPg0NCiAgPG1ldGFkYXRhPg0NCiAgICA8dGltZT4yMDIxLTEwLTMwVDE5OjMxOjM4Ljc5OVo8L3RpbWU+DQ0KICAgIDxib3VuZHMgbWlubGF0PSIzOC45MzY4NjEyNzgiIG1pbmxvbj0iLTEyMC45ODc4OTA2MjUiIG1heGxhdD0iMzguOTM2ODYxMjc4IiBtYXhsb249Ii0xMjAuOTg3ODkwNjI1Ii8+DQ0KICA8L21ldGFkYXRhPg0NCiAgPHdwdCBsYXQ9IjM4LjkzNjg2MTI3OCIgbG9uPSItMTIwLjk4Nzg5MDYyNSI+DQ0KICAgIDxuYW1lPnQyPC9uYW1lPg0NCiAgICA8Y210PnQyPC9jbXQ+DQ0KICAgIDxkZXNjPnQyPC9kZXNjPg0NCiAgPC93cHQ+DQ0KPC9ncHg+DQ0K"]}

Note that this was recorded using the final proposed main.js (Oct 30 2021) file, noted in #14 as a chrome local override. Editing that file again to produce identical payload would be required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant