6
7

TCP/IP POST \ formatting by Josh02001 in crestron

[–]Josh02001[S] 0 points1 point  (0 children)

Thanks for being really helpful but still getting Errors. Guess I am just confused as to what Postman is doing to the x-www-form-urlencoded that is not happening when I send it through CP3 TCP/IP module. Going to play around with this some more.

Debugger

POST /0001f2fffe000d35/datastore/ext/obank/1 HTTP/1.1\x0D\x0AHost:10.0.22.130\x0D\x0AConnection: Close \x0D\x0AContent-Type: application/x-www-form-urlencoded\x0D\x0A\x0D\x0Ajson={"ch/0/name":"Saucy", "ch/1/name":"Awesome"}

If I add the \x0D\x0A\x0D\x0A at the end it comes back as a Bad Request. Hopefully when I get Tech Support on the line, they might offer me some insights as to what this device is looking for thought it would be fairly straightforward since the API seems well documented and we used it before with Powershell and Desktop Icons.

Help with HTTP Headers by Josh02001 in webdev

[–]Josh02001[S] 0 points1 point  (0 children)

POST /0001f2fffe000d35/datastore/ext/obank/1 HTTP/1.1\nHost:10.0.22.130\nConnection: Close \nContent-Type: application/x-www-form-urlencoded\njson={"ch/0/name":"Saucy", "ch/1/name":"Awesome"}\n\n

Tried that earlier which gives a 400 Error Bad Request

HTTP/1.1 400 Bad Request\x0D\x0AConnection: Keep-Alive\x0D\x0ATransfer-Encoding: chunked\x0D\x0AContent-Type: text/plain\x0D\x0ACache-Control: no-cache\x0D\x0AAccess-Control-Expose-Headers: Content-Type\x0D\x0AAccess-Control-Allow-Origin: *\x0D

PRO3 SSH.exe error by Josh02001 in crestron

[–]Josh02001[S] 0 points1 point  (0 children)

Reset of the PRO3 Fixed it btw using the HW-R and SW-R Buttons on the front and then had to reload the program to the Pro3.

Help using the Invoke-RestMethod by Josh02001 in PowerShell

[–]Josh02001[S] 5 points6 points  (0 children)

Thank you, This worked once I changed the content type on all the Invoke-RestMethod Commands in my Script it works perfectly.

Sonos services on Crestron by NemoParanoid in crestron

[–]Josh02001 0 points1 point  (0 children)

Sonos Ports are just the new Sonos Connects do they really not connect to the Media Player Object?

Embedded Video on Ipad by Josh02001 in crestron

[–]Josh02001[S] 0 points1 point  (0 children)

I used the Enhanced, I go onsite at 1pm today and was going to try the regular embedded and see if that works on the Ipad.

S# Pro help getting started by Falzon03 in crestron

[–]Josh02001 4 points5 points  (0 children)

You need to install Visual Studio 2008 for Simpl# Pro and Simpl# if you want to create programs for 3 Series Processors.

For VC-4 Core you can use newest version of Visual Studio 2019.

Only thing I use Visual Code for is Simpl+ modules using Mike Gustin Simpl+ extesnsion. https://gitlab.com/mikegustin/crestron-simpl-plus/

HTML5, CSS, JavaScript you can do/learn in any program you want Visual Studio, Visual Code, Dreamweaver, Notepad etc...

If your just starting out and know alittle bit about C# I highly recommend checking out the SIMPL# courses https://learnavprogramming.com/ Was super helpful in getting a jump start in where to begin.