Click here to Skip to main content
15,899,937 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Visual Studio 2019 behavior questions Pin
adriancs9-Nov-21 20:22
mvaadriancs9-Nov-21 20:22 
GeneralRe: Visual Studio 2019 behavior questions Pin
Gary Wheeler10-Nov-21 1:44
Gary Wheeler10-Nov-21 1:44 
GeneralRe: Visual Studio 2019 behavior questions Pin
Andreas Mertens10-Nov-21 4:46
professionalAndreas Mertens10-Nov-21 4:46 
JokeNever coming here again... PinPopular
Sander Rossel7-Nov-21 2:28
professionalSander Rossel7-Nov-21 2:28 
GeneralRe: Never coming here again... Pin
charlieg7-Nov-21 7:26
charlieg7-Nov-21 7:26 
GeneralRe: Never coming here again... Pin
Slow Eddie7-Nov-21 10:07
professionalSlow Eddie7-Nov-21 10:07 
JokeRe: Never coming here again... Pin
musefan8-Nov-21 0:24
musefan8-Nov-21 0:24 
GeneralWhen talking to a broken record... Pin
Sander Rossel7-Nov-21 2:24
professionalSander Rossel7-Nov-21 2:24 
So this customer's customer asked me if I can send a file to an API instead of through email.
Sure I can, no problem, just send me the API definition.
The API has a few fields of which file is the most important.
The curl example they sent me shows it's form data and the file parameter is a local file path.

I don't know what curl does, so I asked this guy "how do I send the file in .NET? Do you want a byte array, a base64 string, something else? I'm pretty sure sending my local file path won't do."
He replies "I don't know how that works in .NET, but you can read the curl documentation."
"Alright, let me rephrase that. I know how .NET works, but how do you want to receive the file, as a byte array, base64 string, something else?"
Apparently, this is a very difficult question as this guy had to send it to someone else who replies (literally) "You need to tell them that, you need to send through form-data, check the postman screenshot"
The screenshot is literally the curl request, including a local file path D'Oh! | :doh:

At this point I just want to send them "C:\My Files\My file.pdf" and be done with it Big Grin | :-D
I'm going to make a wild guess and mimic an HTML input type="file" form upload and see how far that gets me because I don't think I'm ever going to get the answer I'm looking for... D'Oh! | :doh:

GeneralRe: When talking to a broken record... Pin
Kornfeld Eliyahu Peter7-Nov-21 4:13
professionalKornfeld Eliyahu Peter7-Nov-21 4:13 
GeneralRe: When talking to a broken record... Pin
DerekT-P7-Nov-21 6:18
professionalDerekT-P7-Nov-21 6:18 
GeneralRe: When talking to a broken record... Pin
Sander Rossel7-Nov-21 10:26
professionalSander Rossel7-Nov-21 10:26 
GeneralRe: When talking to a broken record... Pin
Marc Clifton7-Nov-21 8:24
mvaMarc Clifton7-Nov-21 8:24 
GeneralRe: When talking to a broken record... Pin
Sander Rossel7-Nov-21 10:27
professionalSander Rossel7-Nov-21 10:27 
GeneralRe: When talking to a broken record... Pin
Marc Clifton8-Nov-21 9:55
mvaMarc Clifton8-Nov-21 9:55 
GeneralI just got told I was pretty! Pin
OriginalGriff6-Nov-21 23:42
mveOriginalGriff6-Nov-21 23:42 
GeneralRe: I just got told I was pretty! Pin
Super Lloyd7-Nov-21 0:15
Super Lloyd7-Nov-21 0:15 
GeneralRe: I just got told I was pretty! Pin
Mike Hankey7-Nov-21 2:42
mveMike Hankey7-Nov-21 2:42 
GeneralRe: I just got told I was pretty! Pin
peterkmx7-Nov-21 4:57
professionalpeterkmx7-Nov-21 4:57 
GeneralRe: I just got told I was pretty! Pin
Slow Eddie7-Nov-21 10:12
professionalSlow Eddie7-Nov-21 10:12 
GeneralRe: I just got told I was pretty! Pin
obermd8-Nov-21 3:37
obermd8-Nov-21 3:37 
GeneralReally? :-) Pin
Kornfeld Eliyahu Peter6-Nov-21 20:40
professionalKornfeld Eliyahu Peter6-Nov-21 20:40 
GeneralRe: Really? :-) Pin
charlieg7-Nov-21 7:27
charlieg7-Nov-21 7:27 
GeneralRe: Really? :-) Pin
Slow Eddie7-Nov-21 10:13
professionalSlow Eddie7-Nov-21 10:13 
GeneralYou know that point when you get to a proof of concept? Pin
honey the codewitch6-Nov-21 13:06
mvahoney the codewitch6-Nov-21 13:06 
GeneralRe: You know that point when you get to a proof of concept? Pin
k50547-Nov-21 7:47
mvek50547-Nov-21 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   477 votes