Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Apps
-
HD-Enabler:Wirecloud
Description
Created question in FIWARE Q/A platform on 06-01-2015 at 13:01
Please, ANSWER this question AT http://stackoverflow.com/questions/27798694/wirecloud-fi-ware-edit-request-header-in-http-makerequest-method
Question:
Wirecloud / Fi-Ware edit request header in http.makerequest method
Description:
I’m working on an widget for the fiware mashup. It needs to get data in json from a server. I’ve realized that with the MashupPlatform.http.makeRequest.
The problem is, the server sends xml back, if I don’t ask to get json. I don’t find any option in the widget api to to do it so. (like the curl option --header 'Accept: application/json')
2015-10-05 06:05|CREATED monitor | # answers= 1, accepted answer= True