Forum Discussion

cscottk's avatar
cscottk
New Contributor
6 years ago

Media type in a POST Request

I am creating a HTTP Post request, and I am attaching a file.  I need the media type to be application/octet-stream, but I cannot edit the media type or seem to add that media type when attaching the media.

 

Thoughts?

  • I have manually entered it, and it seems to maybe to have worked.  Still no sucess in my call, but progress.  But its this menu that I was hoping it would show.

     

     

     

     

  • richie's avatar
    richie
    Community Hero

    Hi cscottk 

     

    Can you provide some screenshots?  The Media Type function on the Request setup is a combo box - i.e. it's an editable dropdown box, so it kinda doesn't make sense that it's not editable for a POST request.

     

    Screenshots will help - I've just created a new HTTP test step and the field is completely editable....!?!?!

     

    Cheers,

     

    rich

  • cscottk's avatar
    cscottk
    New Contributor

    I have manually entered it, and it seems to maybe to have worked.  Still no sucess in my call, but progress.  But its this menu that I was hoping it would show.

     

     

     

     

    • richie's avatar
      richie
      Community Hero

      Hey cscottk 

       

      so your Media Type issue is resolved?  Great!

       

      Could you please hit the 'Accept as Soution'  so the topic can be considered closed?

       

      Cheers,

       

      rich