In the HTTP-Tutorial on ArcGIS Online there are some explanations how to use http-Methods to send or to receive data. Sending data/ information is always done using http message body, for example I could send a json using the message-body.
But is it also possible to send information using the message header?
Let me explain this in more detail:
Using a REST-Endpoint of an Feature-Service I can request information tailored to my needs using the http-Headers.
This example would result in a response, where only feature are included where the attribute "requesttype" is equal to "Animal Complaint".
For my purpose it would be great, if the following would work:
- Sending information via an http-POST-request using the http-headers (like latitude/longitude and some additional parameters)...similar to the example of the FeatureService RestEndpoint. Those information should be accepted by an Input-Connector.
- Those information ,which are sent using the http-headers, should be converted to GeoEvents.
- The GeoEvents should be processed by an GeoEvent-Service.
- The result of the GeoEvent-Service should be send back as the response of the request (step one).
Is there any way to realize this?
Thanks for any information!