Select to view content in your preferred language

Geoevent server receive post from application/x-www-form-urlencode

1200
2
Jump to solution
05-18-2021 01:07 PM
MAGICMuscatineAreaGeographicIn
New Contributor

Is it possible to create an Input that receives an HTTP POST message whose content type is application/x-www-form-urlencoded ?

 

I would like to receive the following and create an event.

MAGICMuscatineAreaGeographicIn_0-1621368380140.png

 

0 Kudos
1 Solution

Accepted Solutions
EricIronside
Esri Regular Contributor

Hey @MAGICMuscatineAreaGeographicIn 

At the moment GeoEvent doesn't support URL form encoded data (there is no OOTB adapter for it). GeoEvent does natively support XML, JSON, GeoJSON, and CSV, so you will need to convert the data into one of those formats before sending.  If you cannot change the format of the incoming data, you will need to create a custom adapter using the GeoEvent SDK or a separate application to receive the form data, translate it into one of the supported formats, and forward it to GeoEvent.

View solution in original post

2 Replies
EricIronside
Esri Regular Contributor

Hey @MAGICMuscatineAreaGeographicIn 

At the moment GeoEvent doesn't support URL form encoded data (there is no OOTB adapter for it). GeoEvent does natively support XML, JSON, GeoJSON, and CSV, so you will need to convert the data into one of those formats before sending.  If you cannot change the format of the incoming data, you will need to create a custom adapter using the GeoEvent SDK or a separate application to receive the form data, translate it into one of the supported formats, and forward it to GeoEvent.

MAGICMuscatineAreaGeographicIn
New Contributor

Eric

Thanks for the quick reply.

0 Kudos