The Get Request in Put Request clothing

Hi All,
I have an interesting question for you all. We were trying to update the body of a webpage in our Canvas instance using a put request. However, the only feedback we get from running the request is the current page information.

For all practical purposes, it’s like the request is functioning just like a get call, returning the current page body instead of the HTML code we updated.

We can add more information as needed, and thanks in advance for any help!

Hey @wguida :wave:

Welcome to the Postman Community! :postman:

We’re going to require that extra information here and some visual examples of what you have in place.

Is there are documentation for that API that you’re following to know the structure and response of those requests?

Hi @danny-dainton,
Thank you for getting back to me! Here’s a narrative breakdown of what we’re seeing exactly in the Postman web interface:

  1. We have our basic put request URL: https://baypath.instructure.com:443/api/v1/courses/1455846/pages/i-did-it-518
  2. We run this request with the headers and body that we would expect to work:

    (Nothing serious)
  3. When we run the actual request, we get a 200 response, but the response looks exactly like the responses we get when we do Get call for this same URL:

    (The body field in the return is different from the one in the actual body of the request. I can upload that screenshot in a separate post since I’ve already hit the limit on embeds.)

What’s so perplexing is that there’s no error code or anything else obviously amiss. It’s just that our put request isn’t doing any actual updating.

Thanks in advance for any help!

Which documentation are you following to know what’s possible with that API?

Is this a 3rd party API or something that you control?

Postman seems to been working as expected and returning the information in the response from the server.

Thanks for your continued support!

Here’s the live API page for Instucture’s Canvas Learning Management, which is where we got the original URL for the Put request:
https://canvas.instructure.com/doc/api/live
According to the documentation that Instructure provides, we’re not trying to do anything out of the ordinary:
https://canvas.instructure.com/doc/api/pages.html

It’s technically a 3rd party API, but we’ve never encountered a similar issue with any of the other requests we’ve used Postman to make.

Thanks again!

hi Danny , do you offer services to integrate uber direct to my webpage? is so how can i contact you