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 16-02-2016 at 12:02
Please, ANSWER this question AT http://stackoverflow.com/questions/35431734/http-request-returning-empty-element
Question:
HTTP Request returning empty element
Description:
I try to get a JSON object from a webservice with
MashupPlatform.http.makeRequest(url, {
method: 'GET',
requestHeaders:
,
forceProxy: true,
onSuccess: function (response)
,
onFailure: function (response)
,
onComplete: function ()
});
but in the console every time an empty element ({}) gets logged. If I use curl to request that exact same URL I get the response I need. Is the wirecloud proxy unable to request application/json? In my browsers network analysis I see the request including the correct response, but the success function seems to not get that data.
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Assignee | Álvaro Arranz [ aarranz ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Done [ 10000 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Summary | [fiware-stackoverflow] HTTP Request returning empty element | FIWARE.Question.Tech.HTTP Request returning empty element |
Summary | FIWARE.Question.Tech.HTTP Request returning empty element | FIWARE.Question.Tech.Apps.ApplicationMashup.EmptyHTTPResponse |
HD-Enabler | Wirecloud [ 10857 ] | |
HD-Chapter | Apps [ 10836 ] |
Summary | FIWARE.Question.Tech.Apps.ApplicationMashup.EmptyHTTPResponse | FIWARE.Question.Tech.Apps.ApplicationMashup.ComponentDevelopment.EmptyHTTPResponse |
Fix Version/s | 2021 [ 12600 ] |