Curl – Call endpoints in pairs not one by one I have my scripts endpoints running on localhost(http://127.0.0.1:5001).