Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Groupme API
#5
PostFormData can post only HTML form variables but cannot post body data.

This should work, but I did not test.
Macro Macro10
Code:
Copy      Help
str data=
F
;{{
;"channel":"/meta/handshake",
;"version":"1.0",
;"supportedConnectionTypes":["long-polling"],
;"id":"1"
;}

str r8
str r9

Http Host.Connect("api.groupme.com" 0 0 443)

Host.Post("faye" data r8 "Content-Type: application/json" INTERNET_FLAG_SECURE r9)
out r8
out r9

With WinHttp.WinHttpRequest also OK.


Messages In This Thread
Groupme API - by jps01 - 06-05-2018, 02:33 AM
RE: Groupme API - by jps01 - 06-19-2018, 01:16 PM
RE: Groupme API - by Gintaras - 06-19-2018, 02:46 PM
RE: Groupme API - by jps01 - 06-19-2018, 02:50 PM
RE: Groupme API - by Gintaras - 06-19-2018, 03:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)