I integrated pdf viwer in react and created web service as per the instruction but when I am replacing the url from synfusion to .net web service I am getting below mention error.
A client-side error is found. Please check the custom headers provided in the AjaxRequestSettings property and web action methods in the ServerActionSet
<PdfViewerComponent
id="container"
documentPath={fileUrl}
serviceUrl="https://bregapitest.azurewebsites.net/PdfViewer"
style={{ 'height': '640px' }}>
<Inject services={[Toolbar, Magnification, Navigation, Annotation, LinkAnnotation, BookmarkView,
ThumbnailView, Print, TextSelection, TextSearch, FormFields, FormDesigner]} />
</PdfViewerComponent>
</div>