Merge branch 'newMaster2024' of https://git.it.verag.ag/edv/SDL into newMaster2024
This commit is contained in:
@@ -5,7 +5,6 @@ Imports System.Net
|
||||
Imports System.Reflection
|
||||
Imports System.Text.RegularExpressions
|
||||
Imports System.Threading
|
||||
Imports com.sun.source.tree
|
||||
|
||||
|
||||
Public Class cCreditSafeAPI
|
||||
@@ -137,7 +136,7 @@ Public Class cCreditSafeAPI
|
||||
|
||||
If type = "addCompanyToPortfolio_CSV" Then
|
||||
rest.PartSelector = "0"
|
||||
rest.AddHeader("Content-Type", "multipart/form-data")
|
||||
rest.AddHeader("Content-Type", "multipart/form-data") 'nicht notwendig!!! - wird automatisch gesetzt
|
||||
rest.AddHeader("Expect", "100-continue")
|
||||
Else
|
||||
rest.AddHeader("Content-Type", "application/json")
|
||||
@@ -166,9 +165,9 @@ Public Class cCreditSafeAPI
|
||||
rest.AddHeader("Content-Disposition", "form-data; name=""email""")
|
||||
rest.SetMultipartBodyString("d.breimaier@verag.ag;as@verag.ag;Viktoria.Leirich@imex-group.at")
|
||||
|
||||
|
||||
rest.PartSelector = "0"
|
||||
|
||||
|
||||
Dim strResponseBody As String = rest.FullRequestMultipart(method, url.Replace(API_STRING, ""))
|
||||
If (rest.LastMethodSuccess <> True) Then
|
||||
Debug.WriteLine(rest.LastErrorText)
|
||||
|
||||
Reference in New Issue
Block a user