I don’t want my body to be stressed out from all the electro-smog around me. I’d like to become 100 years old without illnesses. I don’t want to find out I have colon or prostate cancer because the keyboard above my colon and balls sent out waves. I’m electrosensitive. Certain hardware makes my lyphs bleed.…
Read ArticleCategory: Allgemein
Alle Crowdfunding Seiten bieten nur Projekte mit Nachrangdarlehen an
Wie der Titel schon sagt, habe ich etwas Geld übrig das ich investieren will. Da ich keine Bank aufmachen kann, die lukrativste und faulste Möglichkeit Geld zu verdienen, suche ich nach Möglichkeiten irgendwo Geld zu investieren, sprich zu verleihen um mehr Geld dadurch zurückzubekommen. Das Geld verliert an Wert auf dem Girokonto. In der Vergangenheit…
Read ArticleIch glaube 1und1 will mir nicht antworten
Vor 3 Tagen hab ich eine Liste mit 5 Fragen gestellt, u.a. wegen Backuplösung für Server und Traffic und Drosselung und extra IP Adressen usw. Waren wahrscheinlich zu schwer die Fragen für das ungeschulte Personal das nur an Provisionen interessiert ist. Auf den ersten Blick ist da wohl keine zu Erkennen, Schlagworte fehlen oder so.…
Read ArticleFacebook has blocked an independent news site of Eritreans
shekortet.com and erena.org are independent and neutral news sites of the Eritrean diaspora. One has news in text and image form, the other has daily radio emissions and images, also poems. On Saturday 09. February 2019 Facebook decided those two domains were against their community standards. For what? For being the only neutral news site?…
Read ArticleAngular multipart/formdata
You would like to upload or post something not as an application/json but as a multipart/formdata. It’s pretty simple, simpler than you would’ve thought 🙂 1. create the FormData instance
|
1 2 3 |
public JSON2FormData() { const fd = new FormData(); } |
then you can use .set or .append methods to add values to the post body of the FormData.
|
1 2 3 4 5 6 7 8 9 10 |
public JSON2FormData() { const fd = new FormData(); fd.set('greeting', 'hello there'); // upload a file, as in `File()` // let's assume our component has a `private file: File = new File()` fd.set('file', this.file, 'filename'); // or file.name instead of 'filename' // or you have an object that you'd like to send as a JSON object // let's assume out component has a `private myobject: object = {}` fd.set('myjson', JSON.stringify(this.myobject)); } |
and finally we upload it…
Read Article