Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4869

Submitting a multi-part form

$
0
0

Hello,

I am new to ember.js and am building an app with a FastApi backend (but I don’t believe the backend that is used actually matters)

My application uses JWT token and I have created JSONAPIAdapter to use ember-data (and adds the Authorization header, specifies the query path, …)

I also need to submit some information to an API (also on the same backend) to trigger some calculations. I am submitting an Excel file in a form and couple of test fields (so not using ember-data at all).

Is there a way that I can leverage the adapter (to get the authentication header, the path, …) or do I need to rebuild everything using a fetch in the form controller ?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4869

Trending Articles