0
I have an answer that I turn into JSON this way:
const resposta = JSON.stringify(response);
console.log(resposta);
Give me the feedback on console.log this way:
[{"nome":"Ramos Janones","email":"[email protected]","cpf":"03472925698","celular":"34996320391","telefone":"","cep":"38300070","endereco":"DEZESSEIS","cidade":"Ituiutaba","estado":"Minas Gerais","bairro":"","complemento":"","usuario":"ramos","senha":"teste123","idppoker":"","nickppocker":"ramosinfo","numero":"","_id":"5bf18c512af2e61ab879d2f7","createdAt":"2018-11-18T15:59:13.735Z","updatedAt":"2018-11-26T15:41:00.806Z","__v":0,"id":"5bf18c512af2e61ab879d2f7","foto":{"_id":"5bfc140dbe257a17900442a1","name":"8.jpg","sha256":"Mt3053NTSRC81wiHOEMubEUagRAPlHOR-MtPvf2yKgQ","hash":"36cdc8491d7b4fa1817bed8126b3143e","ext":".jpg","mime":"image/jpeg","size":"58.46","url":"/uploads/36cdc8491d7b4fa1817bed8126b3143e.jpg","provider":"local","related":["5bf18c512af2e61ab879d2f7"],"createdAt":"2018-11-26T15:41:01.003Z","updatedAt":"2018-11-26T15:41:04.113Z","__v":0,"id":"5bfc140dbe257a17900442a1"},"contasJogadors":[]}]
How can I take the values I want to put in a localStorage?
I researched before posting this question, tried the various ways and it didn’t work.
Thanks @Edson Alves. Perfect.
– Ramos