Displaying 7 results from an estimated 7 matches for "restapi".
Did you mean:
rest_api
2017 Nov 07
2
Problem with getting restapi up&running
Hi,
i am currently struggling around with gluster restapi (not heketi),
somehow i am a bit stuck. During startup of glusterrestd service it
drops some python errors, heres a error log output with increased loglevel.
Maybe someone can give me a hint how to fix this
-- snip --
[2017-11-07 10:29:04 +0000] [30982] [DEBUG] Current configuration:
proxy_prot...
2019 Jan 03
2
doveadm_allowed_commands doesn't work as expected
Trying to limit the API calls to doveadm-http-api by configure allowed
commands, but once the commands added to the list, the RestAPI no longer
work.
1) Return correct reply when doveadm_allowed_commands is empty
# curl -k -H "Content-Type: application/json" -H "Authorization:
X-Dovecot-API <base64 api key>" https://localhost:9088/doveadm/v1
-d'[["quotaGet",{"user":"use...
2017 Feb 15
2
[Sieve] Is the way to run external script to get attachment?
...ripts with text data USER/FROM/SUBJECT -
and I think with variables it can be any text data, how about attachment?
How I see this: script executes and as arg receives from sieve
attachment file, or message file and we can parse it for attachment.
When we have attachment - upload to ownCloud via RESTapi and purge message.
Found some realization for encrypt messages
https://github.com/EtiennePerot/gpgit/blob/master/encmaildir.sh
but for me more easy just connect to IMAP and do what I want (but I love
sieve).
Thanks.
<http://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms>
2009 Jul 16
1
ActiveResource timeout not functioning?
...Rails 2.3.2.
I''m attempting to use the timeout functionality so that if the resource
I''m contacting is down I can fail quickly - I''m doing this with the
following:
class WorkspaceResource < ActiveResource::Base
self.timeout = 5
self.site = "http://mysite.com/restAPI"
end
However, when I try to contact the service when I know it isn''t
available, the class only times out after the default 60 seconds. I can
see from the error stack that the timeout error does indeed come from an
ActiveResource class in my gem folder that has the proper functions to...
2008 Dec 23
2
rails 2.2 connection to MySQL
I have been trying to connect to MySQL thru rails. Initially I had
rails 2.1.2 and upgraded to rails 2.2 to use RestAPI in sproutcore.
Once I have upgraded my rails version to 2.2, I have been getting this
error. All I did is the following:
1. rails addressbook
2. cd addressbook
3. script/generate scaffold Contact first_name:string lastname:string
4. rake db:migrate
I also change the database.yml to suite MySQL....
2017 Feb 16
0
[Sieve] Is the way to run external script to get attachment?
.../SUBJECT -
> and I think with variables it can be any text data, how about
> attachment?
>
> How I see this: script executes and as arg receives from sieve
> attachment file, or message file and we can parse it for attachment.
> When we have attachment - upload to ownCloud via RESTapi and purge
> message.
>
> Found some realization for encrypt messages
> https://github.com/EtiennePerot/gpgit/blob/master/encmaildir.sh
> but for me more easy just connect to IMAP and do what I want (but I
> love sieve).
Do you really need Sieve for this?
IMO such things are be...
2019 Jan 03
0
doveadm_allowed_commands doesn't work as expected
> On 03 January 2019 at 22:45 Ronald Poon <ronaldpoon at ud.hk> wrote:
>
>
> Trying to limit the API calls to doveadm-http-api by configure allowed
> commands, but once the commands added to the list, the RestAPI no longer
> work.
>
>
> 1) Return correct reply when doveadm_allowed_commands is empty
>
> # curl -k -H "Content-Type: application/json" -H "Authorization:
> X-Dovecot-API <base64 api key>" https://localhost:9088/doveadm/v1
> -d'[["qu...