The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
04-04-2024 09:18 AM
Dear all
I'm using SwiftUI code to upload files to Strava's API. Upload is working finde. If I add name and description to my upload body, it is recognized by the API and displayed at my activity dashboard.
However, "commute" (as INT), "trainer" (as INT), or "sport_type" (as STRING) keep being ignored.
Thats part of my code to create the POST request body:
Any idea what's wrong? I've tried different values/typs for commute and trainer, such as 1 or 0, true/True/TRUE or false/False/FALSE, INT or String, but they are still not showing up at my activity dashboard. Same for sport_type... (even if I don't use variables but hard code).
I would really much appreciate if somebody would help!
Thank you!
Ben
04-18-2024 05:08 AM
I'm still struggeling with adding properties such as sport type, commute, and trainer to my uploads to Strava API. Code is written in SwiftUI.
Does anyone use SwiftUI code to upload files to Strava API? How do you add add the properties mentioned above to your files? Any held would be highly appreciated!
04-06-2024 04:25 AM - edited 04-06-2024 05:03 PM
<deleted>
04-06-2024 11:52 AM
How do you add those properties to the URL?
04-06-2024 02:40 AM
Any idea?
Welcome to the Community - here is your guide to help you get started!