Created on 05-20-2020 11:40 AM - edited 05-20-2020 11:44 AM
1. Yes, sorry for some reason they didnt get saved in that version of the template. I will update. You should see or set it like this:
2. Yes, you will need to enter the Remote Url, and maybe more properties. You also need to confirm that the json content in flow file is correct. Mine is just an example. I do not know what service you are connect too. That service may require username, passwords, tokens, headers, etc. The configuration for InvokeHttp will depend on these. If you prefer to share more details about the service you are connecting in PM we can discuss in private.
Once you have the response from InvokeHttp, if the response is json, you will again do EvaluateJson, grab the values you want for the new Long/Lat, and replace or overwrite the existing attributes and continue downstream with your flow.
3. Converting CSV to JSON is pretty typical. The CSV->JSON Method you are a working on is just fine. You should be able to link the flowfile from that, to EvaluateJson in the flow. My example is just a demo to show you the concepts of EvaluateJson, UpdateAttribute, and AttributesToJson.