Select to view content in your preferred language

Issue with rest base service

2480
0
09-01-2015 05:26 PM
DeepLakhanpal1
Deactivated User

Hi Everyone,

I will appreciate a little help here, related to JSON issue. I am trying to use JSON as content type in a HTTP request for one of a Map service (WMS & WFS).

Problem Description: If I use content-type as application/JSON in my HTTP request headers for sewers and flood intersection REST services, it is returning HTML Content always ( JSON is expected ). Could you please update the REST services to accept application/JSON content type requests?

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapSe... (Sample URL)

Please test these with HTTP Post request ( With Content-type as application/JSON ).  I have tested with SOAP UI project, and it is returning unsupported content type format. Do I need to enable any configuration within my Map Service or ArcGIS Server ?

Can anyone please let me know as what can be the possible issue here. Please find attached screenshot for reference.

Regards

L

0 Kudos
0 Replies