You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using axios to make http requests, I have a form data to be sent which i am passing as shown below
function addrequestData (token) {
const form = new FormData();
form.append('dateOfJoining', '360112000');
form.append('selectedGroups', JSON.stringify([1])); // [1] data has to be sent in a JSON format
form.append('jobLocation', '1' );
I am using axios to make http requests, I have a form data to be sent which i am passing as shown below
function addrequestData (token) {
const form = new FormData();
form.append('dateOfJoining', '360112000');
form.append('selectedGroups', JSON.stringify([1])); // [1] data has to be sent in a JSON format
form.append('jobLocation', '1' );
}
My question is How do I make sure that [1] gets converted to string in frisby?
The text was updated successfully, but these errors were encountered: