Open Georgeek opened 6 years ago
@Georgeek http-fetch
only pass you the apiUrl
and httpOptions
. You have to use the http library of your choice to do the AJAX request. If you use axios
, you will have to call axios.get(apiUrl, httpOptions)
to get the Promise and handle it appropriately. In order to pass other formData, you should be able to find some examples on axios
documentation.
Good day :) I'm having an issue with append-params props. In docs says to use it in case adding search word for examle. It works in GET and i see it in url. But what if I need to put it in Form Data?
Here is example:
is there any way to add and send updated formData to server?