The code says the return res.json(reponse) from the post request should say ‘hello’, but it does not, instead it says ‘undefined’, what am I doing wrong?
I have found the solution by looking at a previous project
When return res.json() is run the index.js file searches for the word ‘translation’, so I needed to include an object with the key ‘translation’ for this to work