0 / 0 / 0
Регистрация: 14.05.2011
Сообщений: 5
|
||||||
1 | ||||||
.NET 4.x Отправка Сокета методом POST20.08.2011, 18:36. Показов 1301. Ответов 2
Метки нет (Все метки)
Пишет: Код
<html>..<head><title>400 Bad Request</title></head>..<body bgcolor="white">..<center><h1>400 Bad Request</h1></center>..<hr><center>nginx/0.7.67</center>..</body>..</html>..
0
|
20.08.2011, 18:36 | |
Ответы с готовыми решениями:
2
Отправка xml файла методом POST Отправка POST запроса Отправка POST запроса Отправка POST запроса |
42 / 42 / 9
Регистрация: 27.06.2010
Сообщений: 91
|
|
20.08.2011, 18:52 | 2 |
Ваша ошибка:
Any client (e.g. your Web browser or our CheckUpDown robot) goes through the following cycle: Obtain an IP address from the IP name of the site (the site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs). Open an IP socket connection to that IP address. Write an HTTP data stream through that socket. Receive an HTTP data stream back from the Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information. This error occurs in the final step above when the client receives an HTTP status code it recognises as '400'. Используйте для отправки запроса Webrequest и Webresponse.
0
|
0 / 0 / 0
Регистрация: 14.05.2011
Сообщений: 5
|
|
21.08.2011, 00:31 [ТС] | 3 |
Мне нужно отправить POST запрос с помощью сокета, быть может еще кто-то другой сможет мне помочь?
Добавлено через 2 часа 39 минут И на том спасибо. Я уже разобрался)
0
|
21.08.2011, 00:31 | |
21.08.2011, 00:31 | |
Помогаю со студенческими работами здесь
3
Отправка post-запроса С# Post FILE отправка файла WebBrowser post отправка данных Отправка Post запроса (игра vk) Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |