<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Отправка объекта на сервер в JSON]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12728&amp;type=atom" />
	<updated>2017-06-07T20:36:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12728</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116458#p116458" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong>, о, да храни тебя Господь, оно работает!<br />Как тут лайк поставить?</p>]]></content>
			<author>
				<name><![CDATA[fixik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37876</uri>
			</author>
			<updated>2017-06-07T20:36:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116458#p116458</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116457#p116457" />
			<content type="html"><![CDATA[<p>Я никогда json не слал, но мне кажется надо делать как-то так:<br /></p><div class="codebox"><pre><code>WinHTTP := ComObjCreate(&quot;WinHTTP.WinHttpRequest.5.1&quot;)
WinHTTP.Open(&quot;POST&quot;, &quot;http://&quot;, false)
WinHTTP.SetRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;)
Json = {&quot;a&quot;&#039;:&quot;b&quot;,&quot;c&quot;:&quot;d&quot;}
WinHTTP.Send(Json)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-06-07T20:29:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116457#p116457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116446#p116446" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong>, не все так просто, я пытался.<br /><span class="postimg"><img src="https://pp.userapi.com/c637622/v637622242/532e6/1_Z2xqQMpUM.jpg" alt="https://pp.userapi.com/c637622/v637622242/532e6/1_Z2xqQMpUM.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[fixik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37876</uri>
			</author>
			<updated>2017-06-07T11:03:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116446#p116446</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116444#p116444" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>fixik пишет:</cite><blockquote><p>Malcev, эм, за то, что я не ставлю точки - бан?....</p></blockquote></div><p>Да, уже были случаи. Почитайте правила.<br /></p><div class="quotebox"><blockquote><p>POST/GET запрос я делать умею</p></blockquote></div><p>Ну так и сделайте его, указав в заголовке Content-Type: application/json.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-06-07T08:11:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116444#p116444</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116440#p116440" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong>, эм, за то, что я не ставлю точки - бан?....<br />POST/GET запрос я делать умею, мне лишь надо отправить объект на сервер, в котором содержится JSON...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................</p>]]></content>
			<author>
				<name><![CDATA[fixik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37876</uri>
			</author>
			<updated>2017-06-07T05:13:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116440#p116440</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116430#p116430" />
			<content type="html"><![CDATA[<p>1) Не ставите точки - ждёте бан?<br />2) Читайте про POST запросы.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-06-06T19:49:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116430#p116430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116429#p116429" />
			<content type="html"><![CDATA[<p>Помогите кто нибудь пж(</p>]]></content>
			<author>
				<name><![CDATA[fixik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37876</uri>
			</author>
			<updated>2017-06-06T18:02:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116429#p116429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116389#p116389" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, ну АХК же, ну<strong><span style="color: red">.</span></strong><br />Помогли бы лучше *тут грустный смайлик, но я не знаю, где его взять*<strong><span style="color: red">.</span></strong></p>]]></content>
			<author>
				<name><![CDATA[fixik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37876</uri>
			</author>
			<updated>2017-06-05T15:25:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116389#p116389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116388#p116388" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>fixik пишет:</cite><blockquote><p>Вечер в хату, господа</p></blockquote></div><p><strong>fixik</strong>, вы точно <a href="http://www.syzo.ru/">форумом</a> не ошиблись?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-06-05T15:24:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116388#p116388</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Отправка объекта на сервер в JSON]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116386#p116386" />
			<content type="html"><![CDATA[<p>Вечер в хату, господа.<br />Задача:<br />Требуется отправить на сервер от AHK запрос-пакет, чтобы в самом PHP просто ввести команду: &quot;$var = json_decode(file_get_contents(&#039;php://input), true);&#039;, и в этом пакете уже хранился JSON. Прошу помочь.<br />Пример: func(&quot;http://domain.ltd&quot;, {&quot;command&quot;:&quot;delete&quot;, &quot;comment&quot;:&quot;test&quot;}) или: func(&quot;http://domain.ltd&quot;, JSON.Encode(Object(&quot;command&quot;, &quot;delete&quot;, &quot;comment&quot;, &quot;test&quot;)))<br />Буду очень благодарен!</p>]]></content>
			<author>
				<name><![CDATA[fixik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=37876</uri>
			</author>
			<updated>2017-06-05T14:53:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116386#p116386</id>
		</entry>
</feed>
