NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Niels Larsen

Pages: [1] 2 3 ... 31
1
Hi Bruce

Thanks for the feedback.
I know you're a busy man but when you didn't respond to my inquiries I got a little worried.

But now I'm happy again - looking forward to really getting started using the new driver.

Regards Niels

2
Unfortunately there is nothing new.
I have tried to get in touch with Bruce a couple of times in the last month for a status but heard nothing.
I am a little worried why we are not getting any feedback on this site.
For my part I have chosen to roll my project back to the old sql driver as I have customers who cannot wait any longer.

3
Update.
I have managed to recreate the error in an NTWS example.
It seems that the error occurs when there are two unique keys.
I have sent my example to Bruce and in dialogue with him via email.
Will update again when there is something new.

/Niels

4
I am experiencing the same duplicate error after updating with the new driver kit (mssql) on my NTVS app. NT 14.37 and DKS 1.14

7
Web Server - Ask For Help / Re: Api endpoint stream - how?
« on: May 26, 2025, 11:27:34 PM »
Hi Bruce

I followed your advice to play with example 40 "ServeDocument" and it's just perfect - works exactly as it should.

Thanks!

8
Web Server - Ask For Help / Re: Api endpoint stream - how?
« on: May 22, 2025, 11:58:44 PM »
Thanks for all your input.
Now I have a bit to work with.
I can see that in my case it is by far the easiest to use BASE64 encoded.

9
Web Server - Ask For Help / Re: Api endpoint stream - how?
« on: May 22, 2025, 12:16:50 AM »
I can see that it doesn't really make sense.
I'll try to make it a little clearer.
I have some static ftp files that I need to expose via a REST api.
I'm aware that I can BASE64 encode them but the client would prefer them as "files". This is where I'm a bit confused how to.

/Niels

10
Web Server - Ask For Help / Api endpoint stream - how?
« on: May 18, 2025, 10:34:25 PM »
Hi
I am developing an endpoint where I have to stream a pdf file (actually I have it as BASE64).
But I need some help to get going with the stream itself.
This is what I have from the associated Swagger:
Code: [Select]
  stream:
    type: object
    properties:
      canRead:
        type: boolean
      canWrite:
        type: boolean
      canSeek:
        type: boolean
      canTimeout:
        type: boolean
      length:
        format: int64
        type: integer
      position:
        format: int64
        type: integer
      readTimeout:
        format: int32
        type: integer
      writeTimeout:
        format: int32
        type: integer

Can one of you wise heads help me out?

Regards Niels

11
Web Server - Ask For Help / Re: How to set file upload filetypes
« on: May 12, 2025, 12:17:23 AM »
Maybe this is where you should look.

12
Web Server - Ask For Help / Re: Webclient with certificat
« on: May 08, 2025, 11:32:59 PM »
You just made my Friday a great day.
You pointed me in the right direction.
When I couldn't get your commands to work (because I didn't realize that your - was converted to a ?) I found the description at https://www.ssl.com/how-to/export-certificates-private-key-from-pkcs12-file-with-openssl/
What I thought was impossible turned out to be very easy.

THANK YOU Jane!!!

13
Web Server - Ask For Help / Webclient with certificat
« on: May 07, 2025, 10:19:40 PM »
Hi

I'm a little rusty with certificates so I need some help.
The task is to connect to an api via an NT webclient.
I have a pfx file and a password.
Works fine in Postman, so now I just need to get it to work in NT.
How do I insert the reference to the certificate and password?

Regards Niels

14
Web Server - Ask For Help / Re: NetWebServiceMethod as REST - HOW?
« on: May 04, 2025, 10:20:59 PM »
Thanks Bruce

That's pretty easy. I just took p_web.UserURL and fixed the rest with StringTheory.
Just glad I didn't miss a template option.

/Niels

15
Web Server - Ask For Help / Re: NetWebServiceMethod as REST - HOW?
« on: May 04, 2025, 09:17:38 PM »
I am the one who makes the server but based on the customer's guidelines.
It's basically quite simple. I need to receive two parameters "accountId" and "customerId".
Normally I do it like this: 127.0.0.1//WasteInvoice/InvoiceOverview?account=12345&customer=6789
But the customer wants it like this:
http://127.0.0.1/WasteInvoice/InvoiceOverview/account/{accountId}/customer/{customerId}

Does that make sense?

Pages: [1] 2 3 ... 31