Skip to content
Discussion options

You must be logged in to vote

L'ho risolta così:

    Dim token As String = "TOKEN"
    Dim api_url As String = "https://api-v2.fattureincloud.it/c/company_id/issued_documents"

    Dim request As WebRequest = WebRequest.Create(api_url)
    request.Method = "POST"
    request.Headers("Authorization") = "Bearer " & token

    System.Net.ServicePointManager.ServerCertificateValidationCallback =
    Function(se As Object,
    cert As System.Security.Cryptography.X509Certificates.X509Certificate,
    chain As System.Security.Cryptography.X509Certificates.X509Chain,
    sslerror As System.Net.Security.SslPolicyErrors) True

    Dim postdata As String
    postdata = codice_fatt
    Dim byteArray As Byte() = Encoding.UTF8.Get…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@valmoz
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by valmoz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants