Questions tagged [iron-ajax]
38 questions
1
vote
1 answer
Iron-ajax 401 unauthorized or CORS issue
I'm having issues using iron-ajax on Polymer 2.0. My code's based on a Polymer 1.0 one and I'm trying to adapt it. I send my form through a POST like this:
Template:
…

Luis Paulo
- 129
- 2
- 10
1
vote
2 answers
Iron-ajax can't read json file
I'm using a Polymer app initialized with the Polymer Starter Kit in my first view. I want to read a JSON file inside a , and create a for each array element:
Here's the code for my :
…

Rhohen
- 35
- 5
0
votes
1 answer
Asynchronously update a custom element with an iron-ajax response
I am relatively new to lit-element, I took a crack at creating an element that has a checkbox which ideally should get checked based on the response to an ajax call. What I run my code, the checkbox is always checked regardless of the ajax response.…

Bolu Oluwalade
- 51
- 1
- 5
0
votes
1 answer
I want to stop the second request that is sent by the iron-ajax even before the first request sent is completed
I have an api that takes 4 mins(approx.) to get completed in my polymer application. When I send the request at exact 2mins another request gets sent even after timeout and debounce-duration is set to 10 mins. I want to stop that second request sent…

Roopesh Manchanbele
- 1
- 1
- 1
0
votes
0 answers
0
votes
1 answer
Polymer 3.0 in visual studio to make rest call with iron-ajax
Hi I use visual studio 2017 with polymer 3.0.I try to use iron-ajax to rest call.But I take error 'Uncaught SyntaxError: Unexpected string iron-ajax line 11'.I copy same example at iron-ajax site but error is same.What I am missing…

Bilgehan
- 1,135
- 1
- 14
- 41
0
votes
1 answer
Question about Polymer 1.0, using iron-ajax to make a data server
I have a project using Polymer 1.2, and am trying to create a data server component using iron-ajax called review_data_service.html, which can make AJAX call to send (GET,POST,PUT or DELETE) request to backend like this:

Zichen Ma
- 907
- 3
- 14
- 30
0
votes
1 answer
Paginate Iron-Ajax response
I would like to paginate the iron ajax response but I didn't succeed until now. Any help

Jehad Aldahdooh
- 5
- 4
0
votes
0 answers
How to update polymer component on model change
I have a simple Polymer component that get's data from an external url, in this example, a json placeholder, in the future this will be consuming from an API.
What I want to do is update the displayed data upon model update, if the exposed data…

fabian278
- 115
- 1
- 1
- 10
0
votes
1 answer
not able to populate data in table in iron-ajax in TRIRIGA
I am facing problem in populating data in triblock-table using iron-ajax.
I have my empleelist.json file in the same folder where .html file. Moreover, When I debug it and then I found URL…

Kumar
- 955
- 5
- 20
- 50
0
votes
2 answers
Polymer Ajax Binding from routing parameter not working
I am using iron-pages and app-router to send me to a new page, where I need an iron-ajax element to send a request with the parameter sent from the router.
However, when I try to add my parameter {{parameter.identifier}} in iron ajax it does not…

Chris A
- 91
- 1
- 10
0
votes
0 answers
Vaadin-upload:415 unsupported media type while uploading csv file using vaadin upload
I am using Vaadin upload web component https://vaadin.com/elements/vaadin-upload to upload a CSV file from front end after uploading csv file using vaadin upload i am getting 500 internal server error the vaadin upload component is

triples13
- 206
- 4
- 18
0
votes
1 answer
iron-ajax can not find generateRequest()-Method
I am new to Polymer and try to create an ajax call by iron-ajax. I run into an error, that generateRequest()is undefined.
Polymer 1 is in use.
I installed iron-ajax with this command: bower install --save PolymerLabs/promise-polyfill#1
And as you…

michael-mammut
- 2,595
- 5
- 28
- 46
0
votes
1 answer
iron-ajax not support content-type='application/json' for POST request
I am trying to use iron-ajax but the content-type='application/json' is not supporting.

Rahul
- 395
- 5
- 20
0
votes
1 answer
iron ajax: how to parse array of json object from the success response?
i am making iron ajax call to server i am getting the response as array of object of array as json…

triples13
- 206
- 4
- 18