Google url Shortning API call with Deluge

Google url Shortning API call with Deluge

I am attempting to shorten an url using the Google url Shortning API. However the scripting is returning an error

Below is how I have scripted the API call in deluge:

headerMap = {"Content-type" : "application/json"};
requestBody = {"longUrl":"http://www.google.com"};

Here is the error return in the response:

{"responseCode":"400","responseText":"The request had bad syntax or was inherently impossible to be satisfied."}


Any help in resolving this issue would be greatly appreciated. 



    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 コンテンツ




                              ご検討中の方