# إنشاء مستخدم مرحل عبر استدعاء واجهة برمجة التطبيقات

**URL:** <https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [5 أبريل 2018، 7:19م UTC](https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667 "2018-04-05T19:19:10Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [25 فبراير 2020، 9:58م UTC](https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667/14 "2020-02-25T21:58:18Z")

</div>

لست متأكدًا. يبدو أنه لا يقبل أيًا من الحقول في بريدك الإلكتروني.

استخدمت Ruby لتوليد أمر curl وقراءة ملف نصي للبريد الإلكتروني الذي كتبته، لكن يبدو أن المشكلة تتعلق بسطر جديد.

هل يمكنك استخدام [curl لقراءة ملف بريد إلكتروني](https://stackoverflow.com/a/41482664/588458) يحتوي على أسطر جديدة فعلية؟

`curl -X POST -i -F parametername=@filename host:port/xxx`

---

_[View the full topic](https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667)._
