redux-axios-middleware icon indicating copy to clipboard operation
redux-axios-middleware copied to clipboard

Params to request

Open cedanoernesto opened this issue 7 years ago • 1 comments

If I want to add params to my request without add it in the URL, it allows to add something like {params}?

cedanoernesto avatar May 20 '18 15:05 cedanoernesto

@cedanoernesto

Yes, it does.

For e.g


  payload: {
    request: {
      url: '/form',
      params: {
        moduleid: 'application-form'
      }
    },

will trigger a request like :

https://yourbackend.url/api/form?moduleid=application-form

If this is not what you were looking for, can you elaborate your question.

ngautam0 avatar Jun 16 '18 08:06 ngautam0