Hi,
How I can create a new record using odata with node script running on another server?
Regards,
Hi,
How I can create a new record using odata with node script running on another server?
Regards,
Hi Jefferson,
Read this article at the bottom it describes how to use odata with jQuery. You can see the format of the HTTPS POST request.
https://www.lianja.com/doc/index.php...h_JSON_and_JQL
Then see this link on how to use HTTPS POST with node.js
https://stackoverflow.com/questions/...d-party-module
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
When I execute a request with POST return "the page requested not found", but work with GET.
Hi Jefferson,
You can't just post data into a live system without an APIKEY.
You need to specify that in your linux environment variables or in the server manager on windows.
Then specify the APIKEY in the https headers.
lianjaApiKey: APIKEY
If you are still having issues enable debugging by settng DB_WWWDEBUG=true on your server. Then attach the debug files to a ticket not in the forums.
Last edited by barrymavin; 2022-11-13 at 19:21.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Bookmarks