I have created a simple flask rest api creation project ,that will simply return a json object when we go to specified url (which has a view function with post method attached to it).
Using Python Flask or ExpressJS, Write a REST API that reads the body and returns JSON.
{
"chemicals": ['Amazon', 'Microsoft', 'Google'],
"symbols": ['I', 'Am', 'cro', 'Na', 'le', 'abc']
}
{
"result": ["[Am]azon, Mi[cro]soft, Goog[le]"]
}