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.…
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…
0
votes
0 answers

Twitter API with iron-ajax?

I have an iron-ajax element set up: And I'm…
lte__
  • 7,175
  • 25
  • 74
  • 131
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