Questions tagged [amplifyjs]

AmplifyJS is a set of components designed to solve common web application problems with a simplistic API.

Amplify's goal is to simplify all forms of data handling by providing a unified API for various data sources. Amplify's store component handles persistent client-side storage, using standards like localStorage and sessionStorage, but falling back on non-standard implementations for older browsers. Amplify's request adds some additional features to jQuery's ajax method while abstracting away the underlying data source.

http://amplifyjs.com/

187 questions
0
votes
1 answer

Sending data in 'Request Payload' using amplifyjs

I have a javascript object to be sent to server as follow : var input = {a: 'aaa', b: 'bbb', c: 'ccc'}; And I want to send 'a' property in url like this http://localhost/rest/customer/aaa That's fine with url substitution feature in amplifyjs as…
Ray
  • 4,038
  • 8
  • 36
  • 48
0
votes
2 answers

ElasticSearch not failing but returning incorrect results

I switched to POST searches using ajax in my application so I can start using the date range. However it seems no matter what I post it keeps returning the first 10 results in my index. The true results are in the 30k range. …
zmanc
  • 5,201
  • 12
  • 45
  • 90
0
votes
1 answer

Sending POST request with Amplifyjs

I want to send this POST request by amplifyjs amplify.request.define('createItem', 'ajax', { url: baseApiUrl + '/create/?folderid={folderid}', dataType: 'json', type: 'POST', contentType: 'application/json; charset=utf-8' }); after…
mashix
  • 300
  • 3
  • 13
0
votes
1 answer

Trouble filtering results from elasticsearch using Ajax

I am using Amplify to do my Ajax calls to elasticsearch, however I am having issues filtering my results. Since I am passing everything as a URL I am unsure how to format it. The following returns 4 results when I pass firstName:John as the…
zmanc
  • 5,201
  • 12
  • 45
  • 90
0
votes
1 answer

How to control the amplify.request cache:persistent option

When using amplify.request, I'd like to use amplify.store to persist the results from each call. I know I can do this with this code: amplify.request.define( "ajaxExample2", "ajax", { url: "/myApiUrl", dataType: "json", type: "GET", cache:…
swatkins
  • 13,530
  • 4
  • 46
  • 78
-1
votes
1 answer

How to generate typescript models without @aws-amplify/datastore definitions

I want to be able to generate typescript models for my GraphQL API but I don't want it to use datastore models. I'm generating the models for lambda backend functions where I cannot use Amplifys datastore. I don't want to have the inits functions…
Charles
  • 393
  • 1
  • 3
  • 15
-1
votes
1 answer

Update repo accessKey for existed application in AWS Amplify

Is it possible somehow to update source repo access keys(or retrieve public one) for existed application in AWS Amplify? Subject By some reasons I've revoked all keys from my bitbucket repo, and now my Amplify CI lost access to repo I don't want to…
JIoJIaJIu
  • 155
  • 1
  • 9
1 2 3
12
13