I have created a REST api using NodeJS running on MacOS using http AND https. I am able to create a service that successfully connects to my API using https and returns JSON when using the appery "Test". I can access my REST api using Postman and any web browser. Unfortunately I cannot get...
Sergiy, Thank you for your help. I wasn't clear on what you meant by "read a response" so upon looking at the example, I saw and added the line: Apperyio.response.success(XHRResponse.body, "application/json"); This alone did not work. I had to add a "body" option in my ...
Sergiy, Thanks for the reply. I have updated my APIExpress Service to accept the query parameters as parameters instead of headers. When tested in API Express it works fine. When calling from Server Code using the following code I get no errors but also continue to not see results. Is there some sor...
I changed the Server Code to the following but it still doesn't update the record: var XHRResponse = XHR2.send("PUT"," https://api.appery.io/rest/1/apiexpre... ", { "headers": { "X-Appery-Api-Express-Api-Key" : "xxxxx", "pUserID": "1&q...
No Errors. The Service is an Update Query. Here is the Server Code call: XHR.send("PUT"," https://api.appery.io/rest/1/apiexpre... ", { "headers": { "apiKey":"xxxxx", "pUserID": "1", "pPasscode" : "abcdef", } }...
Galyna, I have created an API Express service that connects to MySQL. The service works when tested in API Express AND works directly in my app. I would like the service to run as Server Code but it does not work. No errors occur. Could you please elaborate on "making our application servers DN...
I set a local storage variable to keep track of the number of rows when fetching data using my query service. Is there a better way? My counter correctly reports the right number of rows but when I try to iterate through the grid rows (row = jQuery(grd )) only the first iteration returns data...the ...
I am now able to update using the body parameter with "_id":rowid. Unfortunately, the grd.length is returning 1 even though the grid may contain multiple rows from the response that it is linked to. Is the grd.length linked to the "design time" rows? How do I get the actual numbe...
Thanks Yurii, I copied and pasted but still get the error: {"code":"DBSG002","description":"database id not specified"} The console shows the correct row in my collection that needs to be updated. Do I need to modify the service at all? I know that _id and Pho...