415 Unsupported Media Type When Sending JSON in Request Body

415 Unsupported Media Type When Sending JSON in Request Body

Hi,
I have been trying to interact with the API to create a folder under the team folders. I tested it with Insomnia REST client it works very well with the example request structure from your docs.

However, I am trying to integrate a work backend with your API, using the same structure as JSON and I keep getting a 415 UNSUPPORTED MEDIA TYPE ERROR. For reference here is my code snippet:

Even when I set the 'Content-Type' header to 'application/json' it still fails. I am wondering what is causing this. I have tried with different media types and all have failed. So how do I go about this?


Waiting for your response.
Kind Regards,
-- martin
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方