Skip to main content
Question

API question

  • November 19, 2015
  • 1 reply
  • 0 views

tmagdziasz
Forum|alt.badge.img+4

I have been able to successfully get data with PHP and the API however I am now trying to POST and am having some difficulty... Anyone have any idea of how to POST a command like this

curl -k -u user:pass https://jss.company.com/JSSResource/mobiledevicecommands/command/BlankPush/id/917 -X POST

in a php format? I know how to convert the -k and -u over to php curl but the -X Post is new. I want to be able initiate a blank push from another portal site.

Thanks in Advance

1 reply

tmagdziasz
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 23 replies
  • November 20, 2015

I did get this figured out.. It was not my PHP it was an API user permission issue


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings