Gleb Svechnikov
Sep 6, 2018 · 1 min read

Hello Carlos, thank you for article. Small question: is not it insecure to send email and password with “Content-Type”: “application/json” with no encryption?

I mean file request.js in lib.

export const post = async (endpoint, data) => {

return axios.post(getUrl(endpoint), data, {

headers: { “Content-Type”: “application/json” }

});};