PricingBlog

API call (with file resource) not being sent on Safari

  • burner918-1262760782689599518

    Sean

    1 year ago

    I have an API endpoint set up in Xano that allows the user to change their profile photo (and or password). Typical user settings functionality. Strangely, when I run the app in Chrome, the API call works successfully and the file resource is posted to Xano and I see my updated profile photo reflect in the app. I noticed that the updated photo was not reflecting when I used Safari. On further investigation it appears that the API call is not being sent (or whatever red indicates) in the Safari Web Developer tools.

    When I check the request history in Xano, it turns out that Xano never received the request at all so I think it was never sent when in Safari. It does work when I send the same request in Chrome.

    Would love some help on why this could be happening or what to look for.

    Thanks,
    Sean
    1262760783524134972-api_safari.png
    1262760783977381958-api_settings_1.png
    1262760784417652845-api_settings_2.png