Закрыть
×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "flex"; // !!!!! block document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
День Независимости Республики Беларусь (3 Июля)
Концерты, выставки ...
Концерты, выставки ...
Музыкальная комедия "Женитьба Рабиновича"|||г. Минск 28 марта, 16 апреля, 17 апреля, 21 мая, 18 июня 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Плавание в бассейне, сауна
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Наполнитель для кошачьего туалета (30 литров)
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
.NET Core Web API (Protocol-based Web Service HTTP)
PostMan send data in the format json for the application Web API
посмотрели
12537
раз
обновлено: 13 May 2019
1) Writing a name for a new project
2) Write the address url
Choose:
Body
Raw
JSON (application/json)
Write json
json
{
"bookName"
:
"AAA"
,
"bookAuthor"
:
"EEE"
,
"myInfo"
: {
"bookType"
:
"Corporation"
},
"localDate"
:
"2019-03-12"
,
"localTime"
:
"163835"
}
Note!
In the C# in the method we should use the attribute
[FromBody]
C#
public
IActionResult
Create(
[FromBody]
BookRequest
viewModel)
{
...
}
← Previous topic
Download the program PostMan (to send data to the app Web API)
Next topic →
PostMan error: Could not get any response. SSL certificate
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Экскурсии по Москве: пешеходные, автобусные и речные прогулки на любой вкус
Объявления
Объявления
•
Create a new .NET Core Web API application on C#
Docker
•
Docker для .NET Core API приложения
Azure (Web service) для .Net Core 5.0 приложения
•
Создаем Azure Web service с типом Net Core 5. То есть создаем пустой web server с типом Net Core 5
•
Приложение .Net Core 5 Web Api делаем publish в → Azure | используем Visual Studio 2019
Orleans
•
Добавляем Orleans Silo в .NET Core Web Api приложении
•
Orleans dashboard
•
Orleans in Docker
PostMan
•
Download the program PostMan (to send data to the app Web API)
•
PostMan send data in the format json for the application Web API
•
PostMan error: Could not get any response. SSL certificate
Дополнительные темы, вопросы
•
Date request format in the .NET Core 5.0 Web API
•
What's the difference (which is better to use) WCF or Web API ?
Ошибки
•
Error "Your connection isn’t private. Attackers might be trying to steal your information from (for example, passwords, messages, or credit cards). NET::ERR_CERT_INVALID" | .NET Core Web API application to C#
•
Error "HTTP Error 500.31 - Failed to load ASP.NET Core runtime" | I run .NET Core Web API the application on C#
•
Error "Unable to connect to web server ... The web server is no longer running." | I run .NET Core Web API the application on C#
WWW sites to explore Web API
•
Books to study Web API
Ваши вопросы присылайте по почте:
info@dir.by