❔ Unable to process post request with asp.net core
I am making use of a document processing component (https://ej2.syncfusion.com/react/documentation/document-editor/web-services/core), where i need to use asp.net core for some server dependencies such as importing a docx file into the documenteditor. My problem is that I don't know wheter my fetch method is not working (and maybe wrong usage of my endpoints) or that the asp.net core application is not even running correctly
5 Replies
when i typed dotnet run it said:
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i succesfully figured out that the http responses are working
because i created a simple get request to make sure i am able to get some response from my server ( a simple OK message)
Tried it with swagger and postman
and both responded with OK
so maybe there is something wrong with how i am fetching the data?
also this is my console log from within the browser:
for the sample get request
i am using the same port as URL for the get request as for the post request i am still not able to perform
this is the controller code:
and this is how i am fetching the data
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.