Forum Discussion

fuenteso's avatar
fuenteso
Leader
9 years ago

Using HTTP PUT on an endpoint

Hi!   I've been trying to figure out how to edit a post directly from an endpoint. I not quite familiar with HTTP request over javascript, and the documentation (Updating message using HTTP PUT) is...
  • DougS's avatar
    DougS
    9 years ago

    I meant you need to use an endpoint that is hosted outside of the community to make the back-channel access token request. We currently restrict endpoints from calling .lithium.com domains for security reasons.

     

    If you are not able to host your own endpoint to make the access token request, you could try hitting the REST v1 messages/id/[message-id]/edit endpoint directly on the community (not through api.lithium.com) to make your message edit.

     

    -Doug