Unsupported Screen Size: The viewport size is too small for the theme to render properly.

API examples

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Amy Watson 1 week, 6 days ago. This post has been viewed 26 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3606 Score: 0

    Ricardo

    Looking for detail examples of the expected way of asking the API. At least what the API is expecting when asking through the HTTP Request.

    Having problems building the link to send a message to other devices.

    Example:

    POST https://<portalname&gt;.hexnodemdm.com/api/v1/actions/message/

    Where do we write the message?

    POST https://<portalname&gt;.hexnodemdm.com/api/v1/actions/message=testing&user=1

    or

    POST https://<portalname&gt;.hexnodemdm.com/api/v1/actions/?message=testing&user=1

    the message would be testing and it would arrive at the user id = 1

    examples like this are laking for a simple and direct way of using the API.

    These questions are not only for the message request but for every other HTTP request

     

     

    #3637 Score: 0

    Amy Watson
    Hexnode MDM

    Hey Ricardo!
    Thanks for reaching out to us!
    You’ve added the parameters in the URL, instead of the body of the HTTP request.
    You’ll need an API development tool to send the HTTP requests. Include the authorization under headers and data in the body of the request as JSON.
    Another alternative is using curl to access our API via the command-line interface, as provided in our API documentation.
    Hope this helps!

    Do have a look through the latest feature updates and what’s cooking here at Hexnode MDM!

    Cheers!
    Amy Watson
    Hexnode MDM

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.