Hey Team!
I want to add additional parameter in Datamanager adaptor whenever my app hits url or crudUrl of datamanager, i.e. whenever app fetches data for first time '
http://localhost:5000/get
' or performing crud operation '
http://localhost:5000/update
', I want to add extra parameters.
I tried this way, but the request is having repeating info, like you can email, startDate and endDate is repeating ->
{
params: {
email: 'user@user.com',
StartDate: '2021-01-09T18:30:00.000Z',
EndDate: '2021-01-16T18:30:00.000Z'
},
email: 'user@user.com',
StartDate: '2021-01-09T18:30:00.000Z',
EndDate: '2021-01-16T18:30:00.000Z'
}
Also can I use fetch API or axios to directly perform crud operations in JSON form? If so can you give an example in React.js?
Hi Salokya,
We have already discussed the axios CRUD and API CRUD related queries in the forums below. Please refer to them.
https://www.syncfusion.com/forums/157730/crud-events-with-express-js
Regards,
Vinitha
Thank you!
You are most welcome, Salokya