DEV Community

Md Sultanul Arefin
Md Sultanul Arefin

Posted on

convert JSON to multipart/form-data angular/ionic

1

When i send POST request form POSTMAN and get correct response

This is Form-Data Body request of Postman POST.

ENDPOINT : https://cholas.in/wp-json/digits/v1/send_otp

Success Respond when i request with Form-Data

When i send POST request from POSTMAN and get Wrong response

JSON Body request

Content-Type : multipart/form-data

When i send POST request from POSTMAN and get Wrong response

Content-Type : multipart/form-data; header with json body :

Content-Type : multipart/form-data; header with json body

Angular and IONIC

Top comments (0)