As a file, or to a SQL database? I successfully store PDFs in a mySQL database as large blobs. For PDFs that are not large, a medium BLOB would probably be fine. I open the PDF for binary read, then read until EOF. But my PDFs are one or at most two page fillable forms.
Bob S > On Jan 31, 2018, at 08:25 , Klaus major-k via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi friends, > > I am scripting a routine to upload a PDF file to a server. > So far, so good-> libURLMultipartFormData() is my friend. > > but now the developer of the API send me two TOKENs for authentification and > said: > "...and make sure you're posting the HTTP header data (the tokens) as > application/json." > ??? > Now he is not available for the next hours. :-( > > Anyone knows what he is talking about and how I can add this to my scripts? > Thanks a lot in advance! > > > Best > > Klaus > -- > Klaus Major _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode