REST API
REST API
Anyone know how to use the AG system to create REST API??? I have an app interface that can accept JSON, however, I don't know how to do that
If anyone can help that would be awesome!!!! Right now all I need is to display the data. The AG system can still be the backend.
Tony
If anyone can help that would be awesome!!!! Right now all I need is to display the data. The AG system can still be the backend.
Tony
Re: REST API
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: REST API
Has anyone used this API? I followed the instructions and it does not work. Just wondering if anyone has been able to get it going.
Re: REST API
Before spending too much time you should check if that interface really meets your specific requirements for an API concerning permissions etc..
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.14 Revision 1665 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.14 Revision 1665 + all AppGini Helper tools
Re: REST API
Any suggestion on how to check that? Based on description it seems to do it all, main function I’m looking for is get function to just display data.
Re: REST API
Hi,Only Admin users can use this API.
it says in the description (and I have asked the developer) that this HTTP-interface will always connect as admin user. This means your REST call will always have admin privileges on serverside. This means you will have to implement restrictions by yourself if you want to show only records, which the currently logged in user is permitted to see. You will have to implement your own queries. If you don't do this, I'm afraid the JSON response will always return all records to the client. Even if there are group- or user-permissions.
This may be OK for many scenarios or even useful in certain situations. But for me it is important to know about this and to notify you and others. It is a small but very important detail from my perspective.
Best,
Jan
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.14 Revision 1665 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.14 Revision 1665 + all AppGini Helper tools
Re: REST API
Hi,
as usual, it helps if you describe what you try to do and what issues you face currently.
The API itself works and has of course some limitations, but you can also easily enhance it to your needs.
as usual, it helps if you describe what you try to do and what issues you face currently.
The API itself works and has of course some limitations, but you can also easily enhance it to your needs.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: REST API
I'm just looking to enter data into my AG front end and then display in my IOS app using the JSON get function. Just can't wrap my head around the steps to make this work. Any help would be great.
- D Oliveira
- AppGini Super Hero
- Posts: 354
- Joined: 2018-03-04 09:30
- Location: David
Re: REST API
I agree with Jan, focus on developing a secure authentication method and then implement the API, vulnerability is the last thing you want associated to your app
Re: REST API
I note comments above about permissions, and now see it is marked as deprecated on github. Are there other API options?