Discuss and implement proper API methods.
Action points
- Create a universal hook (a factory) to use any HTTP method with optional data.
- User
isSuccessstate for all requests andisProcessing
- Using
PATCHorPUT. - Using
datainDELETEetc.
Edited by Maciej Lenartowicz