Recent posts:
Recent replies:

You can try using DBF utility from my old Cache-based framework:

https://github.com/logist/p6/blob/master/classes/p6/Dbf.xml

It has ReadFile/ReadStream & WriteFile/WriteStream methods

Usage:

set sc=##class(p6.Dbf).WriteFile(file,array)
sc - execution status %Status
file-file name
array - string containing a name of global with data,
 
for example: ^asd("asdf"),
^CacheTemp($job,"dbf")
this array has to provide the following structure
...,"header")=<header>
format $list($list(var1,length1,type1,dec1),...,$list(varN,lengthN,typeN,decN)); type is D for date N for number anything else for string
...,"row",<row number>)=<data>

data format $list(var1,...,varN)

Hi Evgeny, this is very much dependent on how you log in :)

If you are using "basic auth" method directly from browser (where it will prompt you for login/password once), you can change username by using "username@" in address bar, for example

http://userB@127.0.0.1/my/api/

Hope this helps!
=Sergei Shutov
Banksia Global | https://banksiaglobal.com

Open Exchange applications:
Followers:
Sergei has no followers yet.
Following:
Sergei has not followed anybody yet.
Global Masters badges: