shammi

Results 8 comments of shammi

![image](https://user-images.githubusercontent.com/2300969/162084869-ad32964f-0edc-485a-b0bb-eec621e3cb7f.png) Hi is it possible to send form-data using VARest like use the request object and binary contents with files value. ![image](https://user-images.githubusercontent.com/2300969/162085012-9d85172f-0991-4f34-9a29-b071b193be50.png)

@chase03 Thanks i actually need to push to server, using multi-part form. And not read it. If you have been able to puch it let me know the data field...

@ufna is it possible to have content type as multipart/form-data i want to do something similar Pass audio file and data . ![image](https://user-images.githubusercontent.com/2300969/162099401-8c9e33d5-ea23-4cc2-a87a-1467f51229be.png) I am doing something like this, request...

@ufna can you give me a hint as to how i can send a multi-part form data as content type and additional key value pair as binary file.

@fredjh were you able to update the VAREST plugin to send a file and json data?

> I write a temporary workaround by extending the users-permissions plugin `Strapi V 4.9.0` > > > src/extensions/users-permissions/strapi-server.js > > ``` > const { > getPaginationInfo, > transformPaginationResponse, > convertPagedToStartLimit,...

I modified it like so ` ctx.body = { data: users.map(user => sanitizeOutput(user)), meta: { pagination: paginationResult, }, };`

its ok i just hard coded the values like this if(me.currZoom==10) settings.zoomStep = 0.092; if(me.currZoom==11) settings.zoomStep = 0.0854; if(me.currZoom==12) settings.zoomStep = 0.08; ha is there a better way ?